We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b71b7 commit 7b9d9a8Copy full SHA for 7b9d9a8
cpython-unix/build-bdb.sh
@@ -21,7 +21,14 @@ CONFIGURE_FLAGS="--enable-dbm --disable-shared"
21
# to configure and tell it pthread_yield() isn't available.
22
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_func_pthread_yield=no"
23
24
-CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" ../dist/configure \
+CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC"
25
+
26
+if [ "${CC}" = "clang" ]; then
27
+ # deprecated-non-prototype gets very chatty with Clang 15. Suppress it.
28
+ CFLAGS="${CFLAGS} -Wno-deprecated-non-prototype"
29
+fi
30
31
+CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}" ../dist/configure \
32
--build=${BUILD_TRIPLE} \
33
--host=${TARGET_TRIPLE} \
34
--prefix=/tools/deps \
0 commit comments