summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-05-13 20:55:49 -0700
committerArmin Kuster <akuster808@gmail.com>2023-05-28 16:03:56 -0400
commit6b59a43868630efeb59f82608c2708c6e35fa8b3 (patch)
tree7eaee2d43ad84cc57d5d5678ccd4c4f7d79e2aca
parent5b94aa82ec9e3385cb66a33684338672ba25c150 (diff)
downloadmeta-openembedded-6b59a43868630efeb59f82608c2708c6e35fa8b3.tar.gz
fftw: Remove hardcoded sysroot into binaries
FFTW_CC is added to image via version.o and its CC + CFLAGS however CC in OE containes --syroot compiler option which encodes buildpaths into binary, therefore remove this option from FFTW_CC in config.h Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit ef03326d31360abdfa3e4a34eb00b328a76de12c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-support/fftw/fftw_3.3.10.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb b/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
index cb45e2b91f..1fead4d029 100644
--- a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
+++ b/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
@@ -55,6 +55,7 @@ do_configure() {
55do_compile() { 55do_compile() {
56 for lib in fftw fftwl fftwf; do 56 for lib in fftw fftwl fftwf; do
57 cd ${WORKDIR}/build-$lib 57 cd ${WORKDIR}/build-$lib
58 sed -i -e 's|${TOOLCHAIN_OPTIONS}||g' config.h
58 autotools_do_compile 59 autotools_do_compile
59 done 60 done
60} 61}