summaryrefslogtreecommitdiffstats
path: root/meta
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:06:38 +0000
commite9e3285e1397cfd2d34f4eb7b5aa59311eea861d (patch)
tree4cc3c970f17ea7e1a2924abe58b42f8026e1f4ac /meta
parent4801ed79151c9640f5f07d03d47db334e1a90161 (diff)
downloadpoky-e9e3285e1397cfd2d34f4eb7b5aa59311eea861d.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. (From OE-Core rev: 0e90a303bc5cb0ede21ff4346843f9daeddfff45) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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}"
19 19
20AR_append = " r" 20AR_append = " r"
21CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \ 21CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
22 -DTERMIO ${FULL_OPTIMIZATION} -Wall" 22 -DTERMIO ${CFLAGS} -Wall"
23 23
24# Avoid binaries being marked as requiring an executable stack (which causes 24# Avoid binaries being marked as requiring an executable stack (which causes
25# issues with SELinux on the host) 25# issues with SELinux on the host)