Mercurial > hg > nginx
diff auto/cc/name @ 4799:24f2b8495f7d stable-1.2
Merge of r4763: added the Clang compiler support.
The -Werror is commented out to not break builds on Linux.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 06 Aug 2012 17:10:35 +0000 |
parents | d1cea70248c7 |
children | f1daa0356a1d |
line wrap: on
line diff
--- a/auto/cc/name +++ b/auto/cc/name @@ -67,6 +67,10 @@ elif `$CC -v 2>&1 | grep 'gcc version' > NGX_CC_NAME=gcc echo " + using GNU C compiler" +elif `$CC -v 2>&1 | grep 'clang version' >/dev/null 2>&1`; then + NGX_CC_NAME=clang + echo " + using Clang C compiler" + elif `$CC -V 2>&1 | grep 'Sun C' >/dev/null 2>&1`; then NGX_CC_NAME=sunc echo " + using Sun C compiler"