]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}
authorPhil Blundell <philb@gnu.org>
Mon, 29 Oct 2012 15:20:19 +0000 (15:20 +0000)
committerScott Garman <scott.a.garman@intel.com>
Fri, 30 Nov 2012 22:50:15 +0000 (14:50 -0800)
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>
meta/recipes-connectivity/openssl/openssl.inc

index 78cf272ec7061de21a9a2567f8561b6a01fa5729..8687bf7f7f8cec3cd19d21a0bcb50a0f976ead40 100644 (file)
@@ -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)