fftw: Remove abspaths in binaries coming via FFTW_CC

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj 2026-04-22 16:09:41 -07:00
parent 879b7b6e1d
commit cd39565a5a
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
SRC_URI = " \
http://www.fftw.org/fftw-${PV}.tar.gz \
file://0001-NEON-autodetection-segfaults-assume-neon-present.patch \
file://0001-Remove-the-CC-and-CFLAGS-from-the-build.patch \
file://install-bench.patch \
file://run-ptest \
"
@ -44,7 +43,7 @@ do_configure() {
cd ${B}
# configure only
oe_runconf --enable-long-double
mv ${B} ${WORKDIR}/build-fftwl
mv ${B} ${WORKDIR}/build-fftwl
# configure fftwf
rm -rf ${WORKDIR}/build-fftwf
@ -58,7 +57,7 @@ do_configure() {
do_compile() {
for lib in fftw fftwl fftwf; do
cd ${WORKDIR}/build-$lib
test -n "${TOOLCHAIN_OPTIONS}" && sed -i -e 's|${TOOLCHAIN_OPTIONS}||g' config.h
sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' config.h
autotools_do_compile
done
}