mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
flex: Replace uninative loader path
The Makefile used for flex-ptest can pick up the path to the uninative loader through BUILD_LDFLAGS. This includes the full path to the uninative loader, which is not reproducible. Replace it with /bin/false. It doesn't appear as if these native programs are used in the test suites and if there are likely to be other problems related to building them using the BUILD_* flags. (From OE-Core rev: 3cce2d1c36b0859186139d650fd50d2a56e91abd) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f52451b719
commit
bbd9f784fb
@@ -64,8 +64,13 @@ do_install_ptest() {
|
||||
-e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \-e 's/^Makefile:/_Makefile:/' \
|
||||
-e 's/^srcdir = \(.*\)/srcdir = ./' -e 's/^top_srcdir = \(.*\)/top_srcdir = ./' \
|
||||
-e 's/^builddir = \(.*\)/builddir = ./' -e 's/^top_builddir = \(.*\)/top_builddir = ./' \
|
||||
-e 's:${UNINATIVE_LOADER}:${base_bindir}/false:g' \
|
||||
-i ${D}${PTEST_PATH}/Makefile
|
||||
}
|
||||
# The uninative loader is different on i386 & x86_64 hosts. Since it is only
|
||||
# being replaced with /bin/false anyway, it doesn't need to be part of the task
|
||||
# hash
|
||||
do_install_ptest[vardepsexclude] += "UNINATIVE_LOADER"
|
||||
|
||||
# Not Apache Flex, or Adobe Flex, or IBM Flex.
|
||||
CVE_PRODUCT = "flex_project:flex"
|
||||
|
||||
Reference in New Issue
Block a user