summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe CONDORELLI <giuseppe.condorelli@st.com>2013-01-07 17:35:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:43:06 +0000
commit876aba02248bd4f52eb550d952347beb607151c2 (patch)
tree70d733ad63fa08e149ce1bd4328d5be2e9147c04
parent66f4c8a674d9f8db958b13866af4d63ab8cbcd44 (diff)
downloadpoky-876aba02248bd4f52eb550d952347beb607151c2.tar.gz
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>
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.32.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.32.bb b/meta/recipes-support/libpcre/libpcre_8.32.bb
index e434d55ce9..04b76f320f 100644
--- a/meta/recipes-support/libpcre/libpcre_8.32.bb
+++ b/meta/recipes-support/libpcre/libpcre_8.32.bb
@@ -34,8 +34,9 @@ EXTRA_OECONF = "\
34 --with-match-limit=10000000 \ 34 --with-match-limit=10000000 \
35" 35"
36 36
37BUILD_CPPFLAGS += "-DLINK_SIZE=2" 37# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
38BUILD_CFLAGS =+ "-I${S}/include" 38# set CFLAGS_FOR_BUILD, required for the libpcre build.
39BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include"
39CFLAGS += "-D_REENTRANT" 40CFLAGS += "-D_REENTRANT"
40CXXFLAGS_append_powerpc = " -lstdc++" 41CXXFLAGS_append_powerpc = " -lstdc++"
41 42