diff options
author | Ben Laurie <ben@links.org> | 2015-08-02 03:21:46 +0200 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2015-08-02 03:21:46 +0200 |
commit | d237a2739c91eb97a7be57989de0a18051f98963 (patch) | |
tree | ca4b1450ece512cadc7ff8d4d81784ebbcfc5245 | |
parent | Make BSD make happy with subdirectories. (diff) | |
download | openssl-d237a2739c91eb97a7be57989de0a18051f98963.tar.xz openssl-d237a2739c91eb97a7be57989de0a18051f98963.zip |
Build with --strict-warnings on FreeBSD.
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r-- | Configurations/10-main.conf | 2 | ||||
-rwxr-xr-x | Configure | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index b5d32b6850..15af87ea1a 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -830,7 +830,7 @@ # 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", @@ -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; |