aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-10-29 15:20:19 +0000
committerAndreas Oberritter <obi@opendreambox.org>2014-07-11 12:48:23 +0200
commitd7ce3aaf004699598205fea1329f7a5326f6c4be (patch)
tree18148a3021289bcf8af4386aa3dfd1b2c74b4903
parent3934927b7aeaeb437877a1d5cd28aaf4bb6e85b8 (diff)
downloadopenembedded-core-contrib-d7ce3aaf004699598205fea1329f7a5326f6c4be.tar.gz
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> (cherry picked from commit 0e90a303bc5cb0ede21ff4346843f9daeddfff45) Signed-off-by: Andreas Oberritter <obi@opendreambox.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 d859f88320..e7d22f3ca4 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)