File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,13 @@ rm -rf pkgs/sqlite* pkgs/tdbc*
33
33
34
34
pushd unix
35
35
36
- CFLAGS=" -fPIC -I${TOOLS_PATH} /deps/include" ./configure \
36
+ CFLAGS=" -fPIC -I${TOOLS_PATH} /deps/include"
37
+
38
+ if [ " ${PYBUILD_PLATFORM} " = " macos" ]; then
39
+ CFLAGS=" ${CFLAGS} -Wno-nullability-completeness -Wno-expansion-to-defined"
40
+ fi
41
+
42
+ CFLAGS=" ${CFLAGS} " CPPFLAGS=" ${CFLAGS} " ./configure \
37
43
--prefix=/tools/deps \
38
44
--enable-shared=no
39
45
Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ chmod +x configure
24
24
CFLAGS=" -fPIC -DUSE_INTERP_RESULT"
25
25
26
26
if [ " ${PYBUILD_PLATFORM} " = " macos" ]; then
27
- CFLAGS=" ${CFLAGS} -I${TOOLS_PATH} /deps/include"
27
+ CFLAGS=" ${CFLAGS} -I${TOOLS_PATH} /deps/include -Wno-nullability-completeness -Wno-expansion-to-defined "
28
28
EXTRA_CONFIGURE_FLAGS=" --without-x"
29
29
else
30
30
EXTRA_CONFIGURE_FLAGS=" --x-includes=/tools/deps/include --x-libraries=/tools/deps/lib"
31
31
fi
32
32
33
33
# -DUSE_INTERP_RESULT is to allow tix to use deprecated fields or something
34
34
# like that.
35
- CFLAGS=" ${CFLAGS} " ./configure \
35
+ CFLAGS=" ${CFLAGS} " CPPFLAGS= " ${CFLAGS} " ./configure \
36
36
--prefix=/tools/deps \
37
37
--with-tcl=${TOOLS_PATH} /deps/lib \
38
38
--with-tk=${TOOLS_PATH} /deps/lib \
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ CFLAGS="-fPIC"
17
17
LDFLAGS=" "
18
18
19
19
if [ " ${PYBUILD_PLATFORM} " = " macos" ]; then
20
- CFLAGS=" ${CFLAGS} -I${TOOLS_PATH} /deps/include"
20
+ CFLAGS=" ${CFLAGS} -I${TOOLS_PATH} /deps/include -Wno-nullability-completeness -Wno-expansion-to-defined "
21
21
LDFLAGS=" -L${TOOLS_PATH} /deps/lib"
22
22
EXTRA_CONFIGURE_FLAGS=" --enable-aqua=yes --without-x"
23
23
else
24
24
EXTRA_CONFIGURE_FLAGS=" --x-includes=${TOOLS_PATH} /deps/include --x-libraries=${TOOLS_PATH} /deps/lib"
25
25
fi
26
26
27
- CFLAGS=" ${CFLAGS} " LDFLAGS=" ${LDFLAGS} " ./configure \
27
+ CFLAGS=" ${CFLAGS} " CPPFLAGS= " ${CFLAGS} " LDFLAGS=" ${LDFLAGS} " ./configure \
28
28
--prefix=/tools/deps \
29
29
--with-tcl=${TOOLS_PATH} /deps/lib \
30
30
--enable-shared=no \
You can’t perform that action at this time.
0 commit comments