From: DeaDDooMER Date: Wed, 28 Aug 2019 16:41:32 +0000 (+0300) Subject: add clang support X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=b97962cb490f66c92f11336003d9007c0b0c867f;p=cpc.git add clang support --- 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=