diff options
author | Giuseppe CONDORELLI <giuseppe.condorelli@st.com> | 2013-01-07 17:35:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-10 23:43:06 +0000 |
commit | 876aba02248bd4f52eb550d952347beb607151c2 (patch) | |
tree | 70d733ad63fa08e149ce1bd4328d5be2e9147c04 | |
parent | 66f4c8a674d9f8db958b13866af4d63ab8cbcd44 (diff) | |
download | poky-876aba02248bd4f52eb550d952347beb607151c2.tar.gz |
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.
(From OE-Core rev: 4f1a2bf43e286e630c30738a268df76355e19212)
Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 | ||