Changed compiler flags

This commit is contained in:
Michiel Broek
2003-12-21 14:58:25 +00:00
parent 63e3358b8f
commit 8453035be1
4 changed files with 6 additions and 5 deletions

4
configure vendored
View File

@@ -2877,9 +2877,9 @@ else
debugging=no
fi;
if test "$debugging" = "yes"; then
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes"
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
else
CFLAGS="-O3 -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes"
CFLAGS="-O3 -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
fi