summaryrefslogtreecommitdiffhomepage
path: root/auto/os/solaris
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/os/solaris13
1 files changed, 13 insertions, 0 deletions
diff --git a/auto/os/solaris b/auto/os/solaris
index 818886bed..7c2caf459 100644
--- a/auto/os/solaris
+++ b/auto/os/solaris
@@ -12,6 +12,19 @@ MAKE_SL=YES
CC_TEST_FLAGS="-D_FILE_OFFSET_BITS=64"
+case $PLATFORM in
+
+ SunOS:5.[89]:* | SunOS:5.10:*)
+ CFLAGS="$CFLAGS -pipe"
+ ;;
+
+ *)
+ # Solaris 7's gcc does not support "-pipe"
+ ;;
+
+esac
+
+
ngx_inc="sys/devpoll.h"; . auto/inc