aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-10-29 15:20:19 +0000
committerScott Garman <scott.a.garman@intel.com>2012-11-30 14:50:15 -0800
commitd5a99f3dab07fa676788b434e18174c0798d4460 (patch)
tree889b429b9cfc23fa7a968e94dd944edf88842941
parentcf84ebac391b243099fe0d05223433ecb8e71641 (diff)
downloadopenembedded-core-d5a99f3dab07fa676788b434e18174c0798d4460.zip
openembedded-core-d5a99f3dab07fa676788b434e18174c0798d4460.tar.gz
openembedded-core-d5a99f3dab07fa676788b434e18174c0798d4460.tar.bz2
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>
-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 78cf272..8687bf7 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)