aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-17 12:16:45 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-17 12:16:45 +0000
commit9408312839570dfdee9bb091492dfcecafa0860a (patch)
tree6d828045f7a8787940efdb9b7b06f400e2f8f2dc
parentef8eef999ff78f5f097e924738da48cc44f3777e (diff)
downloaduserdrake-9408312839570dfdee9bb091492dfcecafa0860a.tar
userdrake-9408312839570dfdee9bb091492dfcecafa0860a.tar.gz
userdrake-9408312839570dfdee9bb091492dfcecafa0860a.tar.bz2
userdrake-9408312839570dfdee9bb091492dfcecafa0860a.tar.xz
userdrake-9408312839570dfdee9bb091492dfcecafa0860a.zip
improve signal to noise ration by killing warnings about declaration-after-statements
-rw-r--r--USER/Makefile.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/USER/Makefile.PL b/USER/Makefile.PL
index fdf6ae4..d847317 100644
--- a/USER/Makefile.PL
+++ b/USER/Makefile.PL
@@ -7,6 +7,7 @@ chomp $libs;
$libs .= "-lpam_misc -lpam ";
WriteMakefile(
'NAME' => 'USER',
+ 'OPTIMIZE' => '-Wno-declaration-after-statement',
'VERSION_FROM' => 'USER.pm',
'OBJECT' => 'USER.o', # link all the C files too
'LIBS' => "$libs", # e.g., '-lm'