summaryrefslogtreecommitdiff
path: root/meta/recipes-support/libpcre
diff options
context:
space:
mode:
authorGiuseppe CONDORELLI <giuseppe.condorelli@st.com>2013-01-07 17:35:33 +0100
committerSaul Wold <sgw@linux.intel.com>2013-01-09 16:40:34 -0800
commit4f1a2bf43e286e630c30738a268df76355e19212 (patch)
tree13b650a0480f67da9db53403eb7db32a9541f3c6 /meta/recipes-support/libpcre
parent0cfec10c4c7b0597f0e0c8f85539d901861a2f83 (diff)
downloadopenembedded-core-4f1a2bf43e286e630c30738a268df76355e19212.tar.gz
openembedded-core-4f1a2bf43e286e630c30738a268df76355e19212.tar.bz2
openembedded-core-4f1a2bf43e286e630c30738a268df76355e19212.zip
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. Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/libpcre')
-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 = "\
--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++"