summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 22:10:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 22:10:18 +0000
commit71e400674fc9abc16b29004eff6fe18dd1c75f4e (patch)
tree23fe81db573f4c175a2add6740bc8dad2596ac11
parentbfa8e627a1a2daa2f9985cfead83dc73cf94c621 (diff)
-Wall is still required, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8331 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index c8304d2f8..3908411d8 100755
--- a/configure
+++ b/configure
@@ -1007,13 +1007,13 @@ sub dir_check {
sub getosflags {
$config{LDLIBS} = "-lstdc++";
- $config{FLAGS} = "-fPIC -Wextra -pedantic $config{OPTIMISATI}";
- $config{DEVELOPER} = "-fPIC -Wextra -pedantic -g";
+ $config{FLAGS} = "-fPIC -Wall -Wextra -pedantic $config{OPTIMISATI}";
+ $config{DEVELOPER} = "-fPIC -Wall -Wextra -pedantic -g";
$SHARED = "-Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared";
$config{MAKEPROG} = "make";
if ($config{OSNAME} =~ /darwin/i) {
- $config{FLAGS} = "-DDARWIN -frtti -fPIC -Wextra -pedantic $config{OPTIMISATI}";
+ $config{FLAGS} = "-DDARWIN -frtti -fPIC -Wall -Wextra -pedantic $config{OPTIMISATI}";
$SHARED = "-bundle -twolevel_namespace -undefined dynamic_lookup";
$config{LDLIBS} = "-ldl -lstdc++";
}
@@ -1034,7 +1034,7 @@ sub getosflags {
if ($config{OSNAME} =~ /Linux/i) {
$config{LDLIBS} = "-ldl -lstdc++";
- $config{FLAGS} = "-fPIC -Wextra -pedantic $config{OPTIMISATI}";
+ $config{FLAGS} = "-fPIC -Wall -Wextra -pedantic $config{OPTIMISATI}";
$config{FLAGS} .= " " . $ENV{CXXFLAGS} if exists($ENV{CXXFLAGS});
$config{LDLIBS} .= " " . $ENV{LDLIBS} if exists($ENV{LDLIBS});
$config{MAKEPROG} = "make";