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:
Giuseppe CONDORELLI 2013-01-07 17:35:33 +01:00 committed by Richard Purdie
parent 66f4c8a674
commit 876aba0224
1 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,9 @@ EXTRA_OECONF = "\
--with-match-limit=10000000 \
"
BUILD_CPPFLAGS += "-DLINK_SIZE=2"
BUILD_CFLAGS =+ "-I${S}/include"
# 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"
CFLAGS += "-D_REENTRANT"
CXXFLAGS_append_powerpc = " -lstdc++"