From 1c34c34c6dff3978746e1af8d86d9778e1261e2d Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 24 Jan 2026 12:59:38 +0200 Subject: [PATCH] thirdparty: clone latest https://github.com/bdwgc/libatomic_ops in thirdparty-macos-arm64_bdwgc.sh, instead of relying on the version from brew --- .../build_scripts/thirdparty-macos-arm64_bdwgc.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/thirdparty/build_scripts/thirdparty-macos-arm64_bdwgc.sh b/thirdparty/build_scripts/thirdparty-macos-arm64_bdwgc.sh index ee9dfd73b..95babc042 100755 --- a/thirdparty/build_scripts/thirdparty-macos-arm64_bdwgc.sh +++ b/thirdparty/build_scripts/thirdparty-macos-arm64_bdwgc.sh @@ -31,15 +31,11 @@ cd bdwgc/ git checkout $LIBGC_COMMIT export LIBGC_COMMIT_FULL_HASH=$(git rev-parse HEAD) -./autogen.sh - -export AOPS_CFLAGS=$(pkg-config atomic_ops --cflags) -export AOPS_LFLAGS=$(pkg-config atomic_ops --libs) +git clone https://github.com/bdwgc/libatomic_ops -echo "AOPS_CFLAGS=${AOPS_CFLAGS}" -echo "AOPS_LFLAGS=${AOPS_LFLAGS}" +./autogen.sh -CC=$CC CFLAGS="-Os -mtune=generic -fPIC ${AOPS_CFLAGS}" LDFLAGS="-Os -fPIC ${AOPS_LFLAGS}" ./configure \ +CC=$CC CFLAGS="-Os -mtune=generic -fPIC" LDFLAGS="-Os -fPIC" ./configure \ --disable-dependency-tracking \ --disable-docs \ --enable-static=yes \ @@ -48,7 +44,7 @@ CC=$CC CFLAGS="-Os -mtune=generic -fPIC ${AOPS_CFLAGS}" LDFLAGS="-Os -fPIC ${AOP --enable-gc-debug \ --enable-large-config \ --enable-cplusplus \ - --with-libatomic-ops=none \ + --with-libatomic-ops=check \ --enable-sigrt-signals make -- 2.39.5