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 b5d32b6..15af87e 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?
-        cc               => "gcc",
+        cc               => "cc",
         cflags           => "-Wall",
         debug_cflags     => "-O0 -g",
         release_cflags   => "-O3",
index 6cc05bd..cfd1980 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
-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;