Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 28 May 2015 04:50:10 +0200
From: Shiz <hi@...z.me>
To: musl@...ts.openwall.com
Cc: Shiz <hi@...z.me>
Subject: [PATCH] add unused flag check arguments to toolchain flag detection


this checks whether -Werror=unknown-warning-option and
-Werror=unused-command-line-argument are supported by the toolchain. if so,
it adds those flags to the tryflag and tryldflag checks in ./configure.

so far only clang supports these flags, but clang is also the only toolchain
I've encountered that ignores unrecognized arguments instead of erroring out.
---
 configure | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)


View attachment "0001-add-unused-flag-check-arguments-to-toolchain-flag-de.patch" of type "text/x-patch" (1433 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.