diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-03-06 21:08:43 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-03-09 00:42:27 +0000 |
commit | 9cd11133f9eaf4f31f7d1c477613d12c22774b09 (patch) | |
tree | d3cbf10ed8ec7d8aee879d381fc143b7150e777a /auto/cc/test | |
parent | e79e463556d6a08432a7008d185c958907fa4f40 (diff) | |
download | unit-9cd11133f9eaf4f31f7d1c477613d12c22774b09.tar.gz unit-9cd11133f9eaf4f31f7d1c477613d12c22774b09.tar.bz2 |
Remove support for Sun's Sun Studio/SunPro C compiler
We really only support building Unit with GCC and Clang.
Cc: Dan Callahan <d.callahan@f5.com>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'auto/cc/test')
-rw-r--r-- | auto/cc/test | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/auto/cc/test b/auto/cc/test index 499a2fb1..dbaa7124 100644 --- a/auto/cc/test +++ b/auto/cc/test @@ -46,18 +46,9 @@ then $echo " + $NXT_CC_VERSION" else -if `/bin/sh -c "($CC -V)" 2>&1 | grep "Sun C" >> $NXT_AUTOCONF_ERR 2>&1` -then - NXT_CC_NAME=SunC - $echo " + using Sun C compiler" - NXT_CC_VERSION=`/bin/sh -c "($CC -V)" 2>&1 | grep "Sun C" 2>&1` - $echo " + $NXT_CC_VERSION" - -else NXT_CC_NAME=cc NXT_CC_VERSION=cc -fi # SunC fi # Apple LLVM clang fi # clang fi # gcc @@ -141,18 +132,6 @@ case $NXT_CC_NAME in fi ;; - SunC) - nxt_have=NXT_SUNC . auto/have - - NXT_CFLAGS="$NXT_CFLAGS -fPIC" - # Optimization. - NXT_CFLAGS="$NXT_CFLAGS -O -fast" - # Stop on warning. - NXT_CFLAGS="$NXT_CFLAGS -errwarn=%all" - # Debug. - NXT_CFLAGS="$NXT_CFLAGS -g" - ;; - *) ;; |