Skip to content

Commit 3b6f6fb

Browse files
committed
unix: use EXTRA_TARGET_CFLAGS when building OpenSSL
Without this, extra flags on macOS aren't getting passed.
1 parent 7616370 commit 3b6f6fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpython-unix/build-openssl.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if [ "${CC}" = "musl-clang" ]; then
2323
EXTRA_FLAGS="${EXTRA_FLAGS} no-async -DOPENSSL_NO_ASYNC -D__STDC_NO_ATOMICS__=1 no-engine -DOPENSSL_NO_SECURE_MEMORY"
2424
fi
2525

26+
EXTRA_FLAGS="${EXTRA_FLAGS} ${EXTRA_TARGET_CFLAGS}"
27+
2628
if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
2729
OPENSSL_TARGET=darwin64-x86_64-cc
2830
elif [ "${TARGET_TRIPLE}" = "x86_64-unknown-linux-gnu" ]; then

0 commit comments

Comments
 (0)