diff options
Diffstat (limited to 'meta/recipes-support/libpcre')
-rw-r--r-- | 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 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 | ||
37 | BUILD_CPPFLAGS += "-DLINK_SIZE=2" | 37 | # Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to |
38 | BUILD_CFLAGS =+ "-I${S}/include" | 38 | # set CFLAGS_FOR_BUILD, required for the libpcre build. |
39 | BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include" | ||
39 | CFLAGS += "-D_REENTRANT" | 40 | CFLAGS += "-D_REENTRANT" |
40 | CXXFLAGS_append_powerpc = " -lstdc++" | 41 | CXXFLAGS_append_powerpc = " -lstdc++" |
41 | 42 | ||