diff options
author | Andy Polyakov <appro@openssl.org> | 2017-09-18 16:30:28 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-09-21 22:33:46 +0200 |
commit | 3a1548643f3f9ef6905e31bcde8603a525789abc (patch) | |
tree | e3ce08b38de779d0f10b7f88ef9c79664d67b9bd /Configurations | |
parent | 51ac82702dc91cabd3dbf890d8f65b285282c0ce (diff) | |
download | openssl-3a1548643f3f9ef6905e31bcde8603a525789abc.tar.gz |
Configure: unify clang's -Qunused-arguments option treatment.
Detect clang even if it's disguised, e.g. cross-compiler or invoked by
explicit path name, and add the option based on that.
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4383)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/10-main.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index ea1c9ab9d9..ca53937bdd 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -763,7 +763,7 @@ sub vms_info { inherit_from => [ "linux-x86" ], cc => "clang", cxx => "clang++", - cflags => add("-Wextra -Qunused-arguments"), + cflags => add("-Wextra"), }, "linux-x86_64" => { inherit_from => [ "linux-generic64", asm("x86_64_asm") ], @@ -777,7 +777,7 @@ sub vms_info { inherit_from => [ "linux-x86_64" ], cc => "clang", cxx => "clang++", - cflags => add("-Wextra -Qunused-arguments"), + cflags => add("-Wextra"), }, "linux-x32" => { inherit_from => [ "linux-generic32", asm("x86_64_asm") ], |