summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index b5a0f7cf5..c8304d2f8 100755
--- a/configure
+++ b/configure
@@ -1007,13 +1007,13 @@ sub dir_check {
sub getosflags {
$config{LDLIBS} = "-lstdc++";
- $config{FLAGS} = "-fPIC -W -pedantic $config{OPTIMISATI}";
- $config{DEVELOPER} = "-fPIC -W -pedantic -g";
+ $config{FLAGS} = "-fPIC -Wextra -pedantic $config{OPTIMISATI}";
+ $config{DEVELOPER} = "-fPIC -Wextra -pedantic -g";
$SHARED = "-Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared";
$config{MAKEPROG} = "make";
if ($config{OSNAME} =~ /darwin/i) {
- $config{FLAGS} = "-DDARWIN -frtti -fPIC -W -pedantic $config{OPTIMISATI}";
+ $config{FLAGS} = "-DDARWIN -frtti -fPIC -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 -W -pedantic $config{OPTIMISATI}";
+ $config{FLAGS} = "-fPIC -Wextra -pedantic $config{OPTIMISATI}";
$config{FLAGS} .= " " . $ENV{CXXFLAGS} if exists($ENV{CXXFLAGS});
$config{LDLIBS} .= " " . $ENV{LDLIBS} if exists($ENV{LDLIBS});
$config{MAKEPROG} = "make";