From 0e90a303bc5cb0ede21ff4346843f9daeddfff45 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Mon, 29 Oct 2012 15:20:19 +0000 Subject: 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. Signed-off-by: Phil Blundell Signed-off-by: Richard Purdie --- meta/recipes-connectivity/openssl/openssl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-connectivity') diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index 089b9a4884..1b2be9300c 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) -- cgit v1.2.3