Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}
@ 2012-10-29 15:20 Phil Blundell
  2012-10-31  6:56 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2012-10-29 15:20 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/recipes-connectivity/openssl/openssl.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
1.7.10.4






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION}
  2012-10-29 15:20 [PATCH] openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION} Phil Blundell
@ 2012-10-31  6:56 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-10-31  6:56 UTC (permalink / raw)
  To: Phil Blundell; +Cc: openembedded-core

On 10/29/2012 08:20 AM, Phil Blundell wrote:
> 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>
> ---
>   meta/recipes-connectivity/openssl/openssl.inc |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
>
Merged into OE-Core

Thanks
	Sau!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-31  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 15:20 [PATCH] openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION} Phil Blundell
2012-10-31  6:56 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox