mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
libpcre: Fix BUILD_CFLAGS for out of tree support
The BUILD_CFLAGS were broken since /include no longer exists in this package. We
do need to include ${B} in the include path for pcre.h though.
(From OE-Core rev: d9130e5113c8f93f327fbe19dbfe39036c1c3995)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -36,7 +36,7 @@ EXTRA_OECONF = "\
|
||||
|
||||
# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
|
||||
# set CFLAGS_FOR_BUILD, required for the libpcre build.
|
||||
BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include"
|
||||
BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}"
|
||||
CFLAGS += "-D_REENTRANT"
|
||||
CXXFLAGS_append_powerpc = " -lstdc++"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user