Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] openssl_1.1: avoid using += with an over-ride
@ 2018-07-06 19:05 Andre McCurdy
  2018-07-06 19:05 ` [PATCH 2/2] openssl_1.1: minor recipe formatting tweaks etc Andre McCurdy
  2018-07-07  8:52 ` [PATCH 1/2] openssl_1.1: avoid using += with an over-ride Alexander Kanavin
  0 siblings, 2 replies; 4+ messages in thread
From: Andre McCurdy @ 2018-07-06 19:05 UTC (permalink / raw)
  To: openembedded-core

Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.

The current usage is incorrect and prevents the aarch64 and musl
specific config options from being active together.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 meta/recipes-connectivity/openssl/openssl_1.1.0h.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb b/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb
index 94b75eb..ac2ad81 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb
@@ -122,12 +122,12 @@ do_configure () {
 #| engines/afalg/e_afalg.c:110:20: error: '__NR_eventfd' undeclared (first use in this function)
 #|      return syscall(__NR_eventfd, n);
 #|                     ^~~~~~~~~~~~
-EXTRA_OECONF_aarch64 += "no-afalgeng"
+EXTRA_OECONF_append_aarch64 = " no-afalgeng"
 
 #| ./libcrypto.so: undefined reference to `getcontext'
 #| ./libcrypto.so: undefined reference to `setcontext'
 #| ./libcrypto.so: undefined reference to `makecontext'
-EXTRA_OECONF_libc-musl += "-DOPENSSL_NO_ASYNC"
+EXTRA_OECONF_append_libc-musl = " -DOPENSSL_NO_ASYNC"
 
 do_install () {
         oe_runmake DESTDIR="${D}" MANDIR="${mandir}" MANSUFFIX=ssl install
-- 
1.9.1



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

end of thread, other threads:[~2018-07-09  3:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06 19:05 [PATCH 1/2] openssl_1.1: avoid using += with an over-ride Andre McCurdy
2018-07-06 19:05 ` [PATCH 2/2] openssl_1.1: minor recipe formatting tweaks etc Andre McCurdy
2018-07-07  8:52 ` [PATCH 1/2] openssl_1.1: avoid using += with an over-ride Alexander Kanavin
2018-07-09  3:07   ` Andre McCurdy

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