git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d2aa065
)
activate FORTIFY_SOURCE only if warnings are enabled
author
kramm
<kramm>
Wed, 17 Jan 2007 13:34:38 +0000
(13:34 +0000)
committer
kramm
<kramm>
Wed, 17 Jan 2007 13:34:38 +0000
(13:34 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
bc96ec5
..
d52900c
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-21,7
+21,7
@@
AC_ARG_ENABLE(lame,
[ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true)
PACKAGE=swftools
[ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true)
PACKAGE=swftools
-VERSION=2007-01-10-2008
+VERSION=2007-01-13-1826
# ------------------------------------------------------------------
# ------------------------------------------------------------------
@@
-33,7
+33,7
@@
fi
WARNINGS="-Wparentheses -Wimplicit -Wreturn-type -Wno-unused-value"
if test "x$ENABLE_WARNINGS" '!=' "x";then
WARNINGS="-Wparentheses -Wimplicit -Wreturn-type -Wno-unused-value"
if test "x$ENABLE_WARNINGS" '!=' "x";then
- WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls"
+ WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls -D_FORTIFY_SOURCE=2 "
fi
if test "x$CHECKMEM" '!=' "x";then
fi
if test "x$CHECKMEM" '!=' "x";then
@@
-44,8
+44,8
@@
if test "x$PROFILING" '!=' "x";then
fi
if test "x$DEBUG" '!=' "x";then
if test "x$PROFILING" = "x";then
fi
if test "x$DEBUG" '!=' "x";then
if test "x$PROFILING" = "x";then
- CFLAGS="$WARNINGS -O2 -g -D_FORTIFY_SOURCE=2 $CFLAGS"
- CXXFLAGS="$WARNINGS -O2 -g -D_FORTIFY_SOURCE=2 $CXXFLAGS"
+ CFLAGS="$WARNINGS -O2 -g $CFLAGS"
+ CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS"
else
CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"
else
CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"