[oe-commits] Phil Blundell : openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}

git at git.openembedded.org git at git.openembedded.org
Tue Oct 30 11:07:08 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: 0e90a303bc5cb0ede21ff4346843f9daeddfff45
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0e90a303bc5cb0ede21ff4346843f9daeddfff45

Author: Phil Blundell <philb at gnu.org>
Date:   Mon Oct 29 15:20:19 2012 +0000

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 at gnu.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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)





More information about the Openembedded-commits mailing list