Skip to contentSkip to conversation

libpcre: change BUILD_CPPFLAGS and BUILD_CFLAGS values

PATCH New Giuseppe CONDORELLI 1 participant 1 message Jan 7, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
 meta/recipes-support/libpcre/libpcre_8.32.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta/recipes-support/libpcre/libpcre_8.32.bb +3 -2
index e434d55..361e9f0 100644
@@ -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++"
 
Signature · 1 line
1.7.7.6