From: Phil Blundell Date: Mon, 29 Oct 2012 15:20:19 +0000 (+0000) Subject: openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION} X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9e3285e1397cfd2d34f4eb7b5aa59311eea861d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION} The latter variable is only applicable for target builds and could result in passing incompatible options (and/or failing to pass required options) to ${BUILD_CC} for a virtclass-native build. (From OE-Core rev: 0e90a303bc5cb0ede21ff4346843f9daeddfff45) Signed-off-by: Phil Blundell Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index 089b9a48847..1b2be9300cf 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc @@ -19,7 +19,7 @@ S = "${WORKDIR}/openssl-${PV}" AR_append = " r" CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \ - -DTERMIO ${FULL_OPTIMIZATION} -Wall" + -DTERMIO ${CFLAGS} -Wall" # Avoid binaries being marked as requiring an executable stack (which causes # issues with SELinux on the host)