From a71c0412cd4e17fa72b9523bd03890ae5601e815 Mon Sep 17 00:00:00 2001 From: Gerson Alexander Pardo Gamez Date: Sun, 19 Sep 2021 08:06:17 -0500 Subject: [PATCH] test clang wrap --- clangwrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 "$@"