summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
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 /meta/recipes-connectivity
parentd6935247dd1a34617fde968160f2df28ab793949 (diff)
downloadpoky-0e43be806d15f752f640e3863f6064c57949b722.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: d5a99f3dab07fa676788b434e18174c0798d4460) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-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}"
18 18
19AR_append = " r" 19AR_append = " r"
20CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \ 20CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
21 -DTERMIO ${FULL_OPTIMIZATION} -Wall" 21 -DTERMIO ${CFLAGS} -Wall"
22 22
23# Avoid binaries being marked as requiring an executable stack (which causes 23# Avoid binaries being marked as requiring an executable stack (which causes
24# issues with SELinux on the host) 24# issues with SELinux on the host)