Changed compiler flags
This commit is contained in:
parent
63e3358b8f
commit
8453035be1
@ -11,6 +11,7 @@ v0.39.4 08-Dec-2003
|
||||
Revised configure and all Makefiles for better support of
|
||||
linking with threads libraries.
|
||||
Changed endian tests using the configure script.
|
||||
Changed compiler flags for threads.
|
||||
|
||||
upgrade:
|
||||
If you didn't change anything of the language defaults then
|
||||
|
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
||||
|
||||
|
@ -68,9 +68,9 @@ if test "$experiment" = "yes"; then
|
||||
fi
|
||||
AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ])
|
||||
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
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ OTHER = Makefile issue issue.netbsd
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbtask
|
||||
|
||||
|
Reference in New Issue
Block a user