Skip to content

Commit 4a62ebf

Browse files
committed
unix: build zlib with EXTRA_TARGET_CFLAGS
1 parent 3b6f6fb commit 4a62ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-zlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ tar -xf zlib-${ZLIB_VERSION}.tar.gz
1313

1414
pushd zlib-${ZLIB_VERSION}
1515

16-
CFLAGS="-fPIC" ./configure --prefix=/tools/deps
16+
CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" ./configure --prefix=/tools/deps
1717
make -j ${NUM_CPUS}
1818
make -j ${NUM_CPUS} install DESTDIR=${ROOT}/out

0 commit comments

Comments
 (0)