0
0
mirror of https://gitlab.torproject.org/tpo/core/tor.git synced 2024-09-20 12:22:14 +02:00

ship the tarball with a minimal cflags, since gcc's vary so much

svn:r2770
This commit is contained in:
Roger Dingledine 2004-11-10 02:50:02 +00:00
parent 4cdddcc13d
commit e5229a214c

View File

@ -232,9 +232,10 @@ AC_SUBST(LOCALSTATEDIR)
# Set CFLAGS _after_ all the above checks, since our warnings are stricter
# than autoconf's macros like.
CFLAGS="$CFLAGS -Wall -W -Wno-unused-parameter -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -g -O2"
CFLAGS="$CFLAGS -Wall -g -O2"
# Add some more warnings which we use in the cvs version but not in the
# released versions.
#CFLAGS="$CFLAGS -W -Wno-unused-parameter -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes"
#CFLAGS="$CFLAGS -Wwrite-strings -Wredundant-decls"
# Add these in when you feel like fun.