Build with --strict-warnings on FreeBSD.
authorBen Laurie <ben@links.org>
Sun, 2 Aug 2015 01:21:46 +0000 (02:21 +0100)
committerBen Laurie <ben@links.org>
Sun, 2 Aug 2015 01:21:46 +0000 (02:21 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Configurations/10-main.conf
Configure

index b5d32b6850254fd81b1131d90dc3e65c6dcbba3d..15af87ea1a0e2f8ea306aba4c8fa3cdd1154e776 100644 (file)
         # expands it as -lc_r, which has to be accompanied by explicit
         # -D_THREAD_SAFE and sometimes -D_REENTRANT. FreeBSD 5.x
         # expands it as -lc_r, which seems to be sufficient?
         # expands it as -lc_r, which has to be accompanied by explicit
         # -D_THREAD_SAFE and sometimes -D_REENTRANT. FreeBSD 5.x
         # expands it as -lc_r, which seems to be sufficient?
-        cc               => "gcc",
+        cc               => "cc",
         cflags           => "-Wall",
         debug_cflags     => "-O0 -g",
         release_cflags   => "-O3",
         cflags           => "-Wall",
         debug_cflags     => "-O0 -g",
         release_cflags   => "-O3",
index 6cc05bd5089fb71427d8ca0842bf57b37b3680e8..cfd1980d809678de1c0da9904ee7d13861c263fa 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -107,7 +107,7 @@ my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare
 # -Wincompatible-pointer-types-discards-qualifiers, -Wcast-align,
 # -Wunreachable-code -Wunused-parameter -Wlanguage-extension-token
 # -Wextended-offsetof
 # -Wincompatible-pointer-types-discards-qualifiers, -Wcast-align,
 # -Wunreachable-code -Wunused-parameter -Wlanguage-extension-token
 # -Wextended-offsetof
-my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof";
+my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof -Qunused-arguments";
 
 my $strict_warnings = 0;
 
 
 my $strict_warnings = 0;