File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ SCRIPT_VERSION=1.51
9
9
CWD=$( pwd)
10
10
PACKAGES=" $CWD /packages"
11
11
WORKSPACE=" $CWD /workspace"
12
- CFLAGS=" -I$WORKSPACE /include"
12
+ CFLAGS=" -I$WORKSPACE /include -Wno-int-conversion "
13
13
LDFLAGS=" -L$WORKSPACE /lib"
14
14
LDEXEFLAGS=" "
15
15
EXTRALIBS=" -ldl -lpthread -lm -lz"
333
333
334
334
if build " pkg-config" " 0.29.2" ; then
335
335
download " https://pkgconfig.freedesktop.org/releases/pkg-config-$CURRENT_PACKAGE_VERSION .tar.gz"
336
+ if [[ " $OSTYPE " == " darwin" * ]]; then
337
+ export XXFLAGS=" -Wno-int-conversion" # pkg-config 0.29.2 has a warning that is treated as an error
338
+ export CFLAGS=" -Wno-error=int-conversion"
339
+ fi
336
340
execute ./configure --silent --prefix=" ${WORKSPACE} " --with-pc-path=" ${WORKSPACE} " /lib/pkgconfig --with-internal-glib
337
341
execute make -j $MJOBS
338
342
execute make install
You can’t perform that action at this time.
0 commit comments