summaryrefslogtreecommitdiffhomepage
path: root/auto/os/solaris
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/os/solaris12
1 files changed, 10 insertions, 2 deletions
diff --git a/auto/os/solaris b/auto/os/solaris
index 7c2caf459..f1ac0f91b 100644
--- a/auto/os/solaris
+++ b/auto/os/solaris
@@ -15,16 +15,24 @@ CC_TEST_FLAGS="-D_FILE_OFFSET_BITS=64"
case $PLATFORM in
SunOS:5.[89]:* | SunOS:5.10:*)
- CFLAGS="$CFLAGS -pipe"
+ PIPE="-pipe"
;;
*)
- # Solaris 7's gcc does not support "-pipe"
+ # Solaris 7's /usr/ccs/bin/as does not support "-pipe"
;;
esac
+if [ $ZLIB_ASM != NO ]; then
+ echo "$0: error: the --with-zlib-asm=CPU option is not supported"
+ echo "on that platform"
+ echo
+
+ exit 1
+fi
+
ngx_inc="sys/devpoll.h"; . auto/inc