summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libpcre
diff options
context:
space:
mode:
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 = "\
34 --with-match-limit=10000000 \ 34 --with-match-limit=10000000 \
35" 35"
36 36
37BUILD_CPPFLAGS += "-DLINK_SIZE=2" 37# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
38BUILD_CFLAGS =+ "-I${S}/include" 38# set CFLAGS_FOR_BUILD, required for the libpcre build.
39BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include"
39CFLAGS += "-D_REENTRANT" 40CFLAGS += "-D_REENTRANT"
40CXXFLAGS_append_powerpc = " -lstdc++" 41CXXFLAGS_append_powerpc = " -lstdc++"
41 42