updated the defines for the build

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@969 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2006-01-31 13:20:10 +00:00
parent d0cbebef19
commit 5872f76613
1 changed files with 4 additions and 3 deletions

View File

@ -97,7 +97,7 @@ opts.AddOptions(
env = Environment(
env = os.environ,
options = opts,
CPPPATH = Split('#/build')
CPPPATH = Split('#build')
)
env.Help(opts.GenerateHelpText(env))
@ -108,7 +108,8 @@ if env.subst('${CC}') is not '':
env['package'] = package
env['version'] = version
if env['CC'] == 'gcc':
env.Append(CCFLAGS = Split('-Wall -O2 -g -W -pedantic -Wunused -Wshadow -std=gnu99'))
## we need x-open 6 and bsd 4.3 features
env.Append(CCFLAGS = Split('-Wall -O2 -g -W -pedantic -Wunused -Wshadow -std=gnu99 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE'))
# cache configure checks
if 1:
@ -158,7 +159,7 @@ if 1:
strdup strerror strstr strtol sendfile getopt socket \
gethostbyname poll sigtimedwait epoll_ctl getrlimit chroot \
getuid select signal pathconf madvise prctl\
writev sigaction sendfile64 send_file kqueue port_create localtime_r'))
writev sigaction sendfile64 send_file kqueue port_create localtime_r posix_fadvise'))
checkTypes(autoconf, Split('pid_t size_t off_t'))