[oe-commits] Giuseppe CONDORELLI : libpcre: change BUILD_CPPFLAGS and BUILD_CFLAGS values
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 10 23:52:15 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 4f1a2bf43e286e630c30738a268df76355e19212
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4f1a2bf43e286e630c30738a268df76355e19212
Author: Giuseppe CONDORELLI <giuseppe.condorelli at st.com>
Date: Mon Jan 7 17:35:33 2013 +0100
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 at st.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-support/libpcre/libpcre_8.32.bb | 5 +++--
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 e434d55..04b76f3 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++"
More information about the Openembedded-commits
mailing list