diff options
author | Phil Blundell <philb@gnu.org> | 2012-10-29 15:20:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-30 11:06:38 +0000 |
commit | e9e3285e1397cfd2d34f4eb7b5aa59311eea861d (patch) | |
tree | 4cc3c970f17ea7e1a2924abe58b42f8026e1f4ac /meta | |
parent | 4801ed79151c9640f5f07d03d47db334e1a90161 (diff) | |
download | ast2050-yocto-poky-e9e3285e1397cfd2d34f4eb7b5aa59311eea861d.zip ast2050-yocto-poky-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.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index 089b9a4..1b2be93 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) |