fftw: Check for TOOLCHAIN_OPTIONS to be non-empty before sed ops
PATCH 1/1 fftw: Check for TOOLCHAIN_OPTIONS to be non-empty before sed ops
Ensures that we do not apply empty sed expression which might happen when building native recipe
Cc jan vermaete <[email protected]>
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-support/fftw/fftw_3.3.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/fftw/fftw_3.3.10.bb +1 -1
@@ -55,7 +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 + test -n "${TOOLCHAIN_OPTIONS}" && sed -i -e 's|${TOOLCHAIN_OPTIONS}||g' config.h autotools_do_compile done }
Signature · 1 line
2.40.1
Please backport this to mickledore ASAP.
2023. 05. 23. 6:51 keltezéssel, Khem Raj írta:
Quoted 31 lines
Ensures that we do not apply empty sed expression which might happen when building native recipe
Cc jan vermaete <[email protected]>Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-support/fftw/fftw_3.3.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-support/fftw/fftw_3.3.10.bb +1
-2@@ -55,7 +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 + test -n "${TOOLCHAIN_OPTIONS}" && sed -i -e 's|${TOOLCHAIN_OPTIONS}||g' config.h autotools_do_compile done } -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#102729): https://lists.openembedded.org/g/openembedded-devel/message/102729
Mute This Topic: https://lists.openembedded.org/mt/99081361/3617728
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-