From b97962cb490f66c92f11336003d9007c0b0c867f Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Wed, 28 Aug 2019 19:41:32 +0300 Subject: [PATCH] add clang support --- make.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/make.sh b/make.sh index 2b50553..4551cab 100755 --- a/make.sh +++ b/make.sh @@ -124,6 +124,7 @@ cpfront_link() { local _cc_cflags= case "$CC" in *gcc) _cc_cflags="-std=c89 -Wno-int-conversion -Wno-int-to-pointer-cast -Wno-incompatible-pointer-types -Wno-implicit-function-declaration" ;; + clang|clang-*) _cc_cflags="-std=c89 -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-pointer-sign -Wno-unused-value -Wno-return-type" ;; *) _cc_cflags="" ;; esac local _cpu_cflags= -- 2.29.2