Skip to content

Commit 7febf22

Browse files
lucascolleyisuruf
andauthored
Update build.sh
Co-authored-by: Isuru Fernando <isuruf@gmail.com>
1 parent e0d96ab commit 7febf22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/pixi-packages/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ "${PYTHON_VARIANT}" == "freethreading" ]]; then
77
elif [[ "${PYTHON_VARIANT}" == "asan" ]]; then
88
CONFIGURE_EXTRA="--with-address-sanitizer"
99
export ASAN_OPTIONS="strict_init_order=true"
10-
if [[ "$target_platform" == linux-* ]]; then
10+
if [[ "$target_platform" == linux-* && "$c_compiler" == "clang" ]]; then
1111
export LDFLAGS="-shared-libsan $LDFLAGS"
1212
fi
1313
elif [[ "${PYTHON_VARIANT}" == "tsan_freethreading" ]]; then

0 commit comments

Comments
 (0)