From ef03326d31360abdfa3e4a34eb00b328a76de12c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 13 May 2023 20:55:49 -0700 Subject: [PATCH] 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 --- meta-oe/recipes-support/fftw/fftw_3.3.10.bb | 1 + 1 file changed, 1 insertion(+) 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() { do_compile() { for lib in fftw fftwl fftwf; do cd ${WORKDIR}/build-$lib + sed -i -e 's|${TOOLCHAIN_OPTIONS}||g' config.h autotools_do_compile done }