aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl.inc
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-10-29 15:20:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-30 11:03:46 +0000
commit0e90a303bc5cb0ede21ff4346843f9daeddfff45 (patch)
tree3204df15ab549e076b29035f798b820020d1a42e /meta/recipes-connectivity/openssl/openssl.inc
parentfbec192f6bc41a335ede85843ba22a89d13501ab (diff)
downloadopenembedded-core-contrib-0e90a303bc5cb0ede21ff4346843f9daeddfff45.tar.gz
openembedded-core-contrib-0e90a303bc5cb0ede21ff4346843f9daeddfff45.tar.bz2
openembedded-core-contrib-0e90a303bc5cb0ede21ff4346843f9daeddfff45.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. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl.inc')
-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 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)