mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
libpcre: change BUILD_CPPFLAGS and BUILD_CFLAGS values
Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to set CFLAGS_FOR_BUILD, required for the libpcre build. (From OE-Core rev: 4f1a2bf43e286e630c30738a268df76355e19212) Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
66f4c8a674
commit
876aba0224
@@ -34,8 +34,9 @@ EXTRA_OECONF = "\
|
|||||||
--with-match-limit=10000000 \
|
--with-match-limit=10000000 \
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_CPPFLAGS += "-DLINK_SIZE=2"
|
# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
|
||||||
BUILD_CFLAGS =+ "-I${S}/include"
|
# set CFLAGS_FOR_BUILD, required for the libpcre build.
|
||||||
|
BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include"
|
||||||
CFLAGS += "-D_REENTRANT"
|
CFLAGS += "-D_REENTRANT"
|
||||||
CXXFLAGS_append_powerpc = " -lstdc++"
|
CXXFLAGS_append_powerpc = " -lstdc++"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user