diff --git a/clangwrap.sh b/clangwrap.sh index e36fcfc..eff87f5 100755 --- a/clangwrap.sh +++ b/clangwrap.sh @@ -11,6 +11,8 @@ elif [ "$GOARCH" == "arm64" ]; then CARCH="arm64" elif [ "$GOARCH" == "arm" ]; then CARCH="armv7" +elif [ "$GOARCH" == "386" ]; then + CARCH="i386" fi -exec $CLANG -arch $CARCH -isysroot $SDK_PATH -mios-version-min=10.0 "$@" \ No newline at end of file +exec $CLANG -arch $CARCH -isysroot $SDK_PATH -mios-version-min=10.0 "$@"