diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-16 15:43:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-19 15:25:12 +0000 |
commit | 54441215bdac4ac3bde1b009b27194edcf7f8147 (patch) | |
tree | 5cc607fa2ae6302117d4b53d484016e5fd1f75ff /meta/recipes-extended | |
parent | 27e72a5f13ab8c9d09f9e88a95bf3316a937045f (diff) | |
download | poky-54441215bdac4ac3bde1b009b27194edcf7f8147.tar.gz |
bash/flex: Ensure BUILD_FLAGS doesn't leak onto target
The ptest packages were leaking BUILD_LDFLAGS into the Makefile used
on target. Remove these values instead.
(From OE-Core rev: 599132c7794a1192ddd257669798a3ec6d1191bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 2c3e605511..7832ad052b 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -102,6 +102,7 @@ do_install_ptest () { | |||
102 | install -D ${WORKDIR}/run-bash-ptests ${D}${PTEST_PATH}/run-bash-ptests | 102 | install -D ${WORKDIR}/run-bash-ptests ${D}${PTEST_PATH}/run-bash-ptests |
103 | sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ | 103 | sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ |
104 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | 104 | -e 's|${DEBUG_PREFIX_MAP}||g' \ |
105 | -e 's|${BUILD_LDFLAGS}||g' \ | ||
105 | -e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" \ | 106 | -e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" \ |
106 | -e 's:${HOSTTOOLS_DIR}/::g' \ | 107 | -e 's:${HOSTTOOLS_DIR}/::g' \ |
107 | -e 's:${UNINATIVE_LOADER}:${base_bindir}/false:g' \ | 108 | -e 's:${UNINATIVE_LOADER}:${base_bindir}/false:g' \ |