|
Message-Id: <1160191484042339@web26g.yandex.ru>
Date: Tue, 10 Jan 2017 11:58:59 +0200
From: Dmitry Golovin <dima@...ovin.in>
To: musl@...ts.openwall.com
Subject: Clang warning silencing patch
The attached patch will reduce the amount of warnings produced when using clang compiler.
It does two things:
1. Tests for excess-precision=standard and rounding-math are disabled for clang. The problem is that those tests pass, but do no good: every compilation commands produce two warnings about unsupported optimization flags.
2. LDFLAGS (added to --help) variable is only used for linking, CFLAGS is only used for compiling, none of them are used for assembly. This suppresses all unused argument warnings.
Regards,
Dmitry
View attachment "ldflags-musl.patch" of type "text/x-diff" (1976 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.