mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
nginx-0.0.2-2004-03-10-20:55:19 import
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user