diff options
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl.inc')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index 429fc5e72c..199e9ab0d4 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc | |||
@@ -18,10 +18,12 @@ S = "${WORKDIR}/openssl-${PV}" | |||
18 | PACKAGECONFIG[perl] = ",,," | 18 | PACKAGECONFIG[perl] = ",,," |
19 | 19 | ||
20 | AR_append = " r" | 20 | AR_append = " r" |
21 | TERMIO_libc-musl = "-DTERMIOS" | ||
22 | TERMIO ?= "-DTERMIO" | ||
21 | # Avoid binaries being marked as requiring an executable stack since it | 23 | # Avoid binaries being marked as requiring an executable stack since it |
22 | # doesn't(which causes and this causes issues with SELinux | 24 | # doesn't(which causes and this causes issues with SELinux |
23 | CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \ | 25 | CFLAG = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \ |
24 | -DTERMIO ${CFLAGS} -Wall -Wa,--noexecstack" | 26 | ${TERMIO} ${CFLAGS} -Wall -Wa,--noexecstack" |
25 | 27 | ||
26 | # -02 does not work on mipsel: ssh hangs when it tries to read /dev/urandom | 28 | # -02 does not work on mipsel: ssh hangs when it tries to read /dev/urandom |
27 | CFLAG_mtx-1 := "${@'${CFLAG}'.replace('-O2', '')}" | 29 | CFLAG_mtx-1 := "${@'${CFLAG}'.replace('-O2', '')}" |