diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-05-13 20:55:49 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-13 20:58:07 -0700 |
commit | ef03326d31360abdfa3e4a34eb00b328a76de12c (patch) | |
tree | a7cd73591c3e70e190e5f883ef16709525f82a8b | |
parent | b491d4b9832d29f20834bd85173ad21e700da4cf (diff) | |
download | meta-openembedded-ef03326d31360abdfa3e4a34eb00b328a76de12c.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>
-rw-r--r-- | meta-oe/recipes-support/fftw/fftw_3.3.10.bb | 1 |
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() { | |||
55 | do_compile() { | 55 | do_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 | } |