summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 12:55:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 12:57:54 +0000
commit3fff11a7fc0449bf927bcc79773f37dee32e51f1 (patch)
tree3736f7156c70bd66c4aec81b32b873b85148b9a1
parent8805fa2a252a9af63ab59019e9079e9d13fd01b2 (diff)
downloadpoky-3fff11a7fc0449bf927bcc79773f37dee32e51f1.tar.gz
libpcre: Fix BUILD_CFLAGS for out of tree support
The BUILD_CFLAGS were broken since /include no longer exists in this package. We do need to include ${B} in the include path for pcre.h though. (From OE-Core rev: d9130e5113c8f93f327fbe19dbfe39036c1c3995) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.32.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.32.bb b/meta/recipes-support/libpcre/libpcre_8.32.bb
index 04b76f320f..4d17741625 100644
--- a/meta/recipes-support/libpcre/libpcre_8.32.bb
+++ b/meta/recipes-support/libpcre/libpcre_8.32.bb
@@ -36,7 +36,7 @@ EXTRA_OECONF = "\
36 36
37# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to 37# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
38# set CFLAGS_FOR_BUILD, required for the libpcre build. 38# set CFLAGS_FOR_BUILD, required for the libpcre build.
39BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include" 39BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}"
40CFLAGS += "-D_REENTRANT" 40CFLAGS += "-D_REENTRANT"
41CXXFLAGS_append_powerpc = " -lstdc++" 41CXXFLAGS_append_powerpc = " -lstdc++"
42 42