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"
31
31
echo " XC_OPTS:$XC_OPTS "
32
32
echo " ===check env end==="
33
33
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 "
35
35
CFLAGS=" -arch $XC_ARCH $XC_DEPLOYMENT_TARGET $XC_OTHER_CFLAGS "
36
36
37
37
# for cross compile
@@ -42,6 +42,11 @@ if [[ $(uname -m) != "$XC_ARCH" || "$XC_FORCE_CROSS" ]];then
42
42
CFG_FLAGS=" $CFG_FLAGS --host=$XC_ARCH -apple-darwin --with-sysroot=$XCRUN_SDK_PATH "
43
43
fi
44
44
45
+ if [[ " $BUILD_OPT " == " debug" ]]; then
46
+ CFG_FLAGS=" $CFG_FLAGS --enable-debug"
47
+ fi
48
+
49
+
45
50
cd $XC_BUILD_SOURCE
46
51
47
52
if [[ -f ' configure' ]]; then
You can’t perform that action at this time.
0 commit comments