File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7676
7777COMMON_COMPILE=" $CC -std=c11 -Wall -Wextra -Wno-unused-parameter -Wno-ignored-qualifiers -Wno-unused-function -Wno-nullability-completeness -Wno-pointer-sign -Wdate-time -ffile-prefix-map=$( pwd) ="
7878COMMON_CC=" "
79- [ " $IS_MAC " = " true " -a " $2 " != " wasm " ] && COMMON_CC=" $COMMON_CC --target=$TARGET_STRING -mcpu=$LDK_TARGET_CPU "
80- [ " $IS_MAC " = " false " -a " $2 " != " wasm " ] && COMMON_CC=" $COMMON_CC --target=$TARGET_STRING -march=$LDK_TARGET_CPU -mtune=$LDK_TARGET_CPU "
79+ [[ " $TARGET_STRING " != " x86 " * ] ] && COMMON_CC=" $COMMON_CC --target=$TARGET_STRING -mcpu=$LDK_TARGET_CPU "
80+ [[ " $TARGET_STRING " = " x86 " * ] ] && COMMON_CC=" $COMMON_CC --target=$TARGET_STRING -march=$LDK_TARGET_CPU -mtune=$LDK_TARGET_CPU "
8181[ " $IS_MAC " = " true" -a " $MACOS_SDK " != " " ] && COMMON_COMPILE=" $COMMON_COMPILE -isysroot $MACOS_SDK "
8282
8383DEBUG_ARG=" $3 "
You can’t perform that action at this time.
0 commit comments