]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpcre: change BUILD_CPPFLAGS and BUILD_CFLAGS values
authorGiuseppe CONDORELLI <giuseppe.condorelli@st.com>
Mon, 7 Jan 2013 16:35:33 +0000 (17:35 +0100)
committerSaul Wold <sgw@linux.intel.com>
Thu, 10 Jan 2013 00:40:34 +0000 (16:40 -0800)
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>
meta/recipes-support/libpcre/libpcre_8.32.bb

index e434d55ce96a587016e51d13cc7b67fb2dd37900..04b76f320f20d0a00306eeafa0224c7e246d1a1d 100644 (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++"