mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-14 08:06:35 +00:00
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 <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit fcdb991b8015e77353517fb327d0def2a23b0173) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
9286582126
commit
df5a73dfe3
@ -55,7 +55,7 @@ do_configure() {
|
|||||||
do_compile() {
|
do_compile() {
|
||||||
for lib in fftw fftwl fftwf; do
|
for lib in fftw fftwl fftwf; do
|
||||||
cd ${WORKDIR}/build-$lib
|
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
|
autotools_do_compile
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user