nginx-0.0.2-2004-03-10-20:55:19 import

This commit is contained in:
Igor Sysoev
2004-03-10 17:55:19 +00:00
parent fc5a10aedc
commit 24b56c92bb
14 changed files with 87 additions and 34 deletions

View File

@@ -3,6 +3,8 @@ CORE_INCS="$UNIX_INCS"
CORE_DEPS="$UNIX_DEPS $FREEBSD_DEPS"
CORE_SRCS="$UNIX_SRCS $FREEBSD_SRCS"
CFLAGS="$CFLAGS -pipe"
# __FreeBSD_version is the best way to determine whether
# some capability exists and is safe to use

View File

@@ -4,6 +4,8 @@ CORE_DEPS="$UNIX_DEPS $LINUX_DEPS"
CORE_SRCS="$UNIX_SRCS $LINUX_SRCS"
EVENT_MODULES="$EVENT_MODULES"
CFLAGS="$CFLAGS -pipe"
CC_TEST_FLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"

View File

@@ -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