Skip to content

Commit 0e4bd08

Browse files
committed
fribidi support compile debug edition
1 parent d730dc0 commit 0e4bd08

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apple/do-compile/fribidi.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env_assert "XCRUN_CC"
3131
echo "XC_OPTS:$XC_OPTS"
3232
echo "===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"
3535
CFLAGS="-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"
4343
fi
4444

45+
if [[ "$BUILD_OPT" == "debug" ]]; then
46+
CFG_FLAGS="$CFG_FLAGS --enable-debug"
47+
fi
48+
49+
4550
cd $XC_BUILD_SOURCE
4651

4752
if [[ -f 'configure' ]]; then

0 commit comments

Comments
 (0)