File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ env_assert "XCRUN_CC"
3131echo " XC_OPTS:$XC_OPTS "
3232echo " ===check env end==="
3333
34- CFG_FLAGS=" --prefix=$XC_BUILD_PREFIX --enable-static --disable-shared --silent --enable-silent-rules"
34+ CFG_FLAGS=" --prefix=$XC_BUILD_PREFIX --enable-static --disable-shared --silent --enable-silent-rules --disable-dependency-tracking "
3535CFLAGS=" -arch $XC_ARCH $XC_DEPLOYMENT_TARGET $XC_OTHER_CFLAGS "
3636
3737# for cross compile
@@ -42,6 +42,11 @@ if [[ $(uname -m) != "$XC_ARCH" || "$XC_FORCE_CROSS" ]];then
4242 CFG_FLAGS=" $CFG_FLAGS --host=$XC_ARCH -apple-darwin --with-sysroot=$XCRUN_SDK_PATH "
4343fi
4444
45+ if [[ " $BUILD_OPT " == " debug" ]]; then
46+ CFG_FLAGS=" $CFG_FLAGS --enable-debug"
47+ fi
48+
49+
4550cd $XC_BUILD_SOURCE
4651
4752if [[ -f ' configure' ]]; then
You can’t perform that action at this time.
0 commit comments