summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-10-29 15:20:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-07 15:58:18 +0000
commit0e43be806d15f752f640e3863f6064c57949b722 (patch)
tree9c40c47e91961632e9b5dba6ed509eecbcad73c2
parentd6935247dd1a34617fde968160f2df28ab793949 (diff)
downloadpoky-0e43be806d15f752f640e3863f6064c57949b722.tar.gz
poky-0e43be806d15f752f640e3863f6064c57949b722.tar.bz2
poky-0e43be806d15f752f640e3863f6064c57949b722.zip
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: d5a99f3dab07fa676788b434e18174c0798d4460) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 78cf272ec7..8687bf7f7f 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -18,7 +18,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)