mirror of
https://git.yoctoproject.org/poky
synced 2026-10-20 18:38:18 +00:00
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.
(From OE-Core rev: d5a99f3dab07fa676788b434e18174c0798d4460)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
d6935247dd
commit
0e43be806d
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user