From: Giuseppe CONDORELLI Date: Mon, 7 Jan 2013 16:35:33 +0000 (+0100) Subject: libpcre: change BUILD_CPPFLAGS and BUILD_CFLAGS values X-Git-Tag: 2015-4~8117 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4f1a2bf43e286e630c30738a268df76355e19212;p=openembedded-core.git 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 Signed-off-by: Saul Wold --- 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 = "\ --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++"