Re: [fsverity-utils PATCH] Makefile: adjust CFLAGS overriding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Oct 2020 at 18:29, Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
>
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Make any user-specified CFLAGS only replace flags that affect the
> resulting binary.  Currently that means just "-O2".  Always add the
> warning flags, although they can still be disabled by -Wno-*.  This
> seems to be closer to what people want; see the discussion at
> https://lkml.kernel.org/linux-fscrypt/20201026204831.3337360-1-luca.boccassi@xxxxxxxxx/T/#u
>
> Also fix up scripts/run-tests.sh to use appropriate CFLAGS.  That is,
> don't specify -Wall since the Makefile now adds it, always specify
> -Werror, and usually specify an optimization level too.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>  Makefile             |  7 ++++--
>  scripts/run-tests.sh | 54 ++++++++++++++++++++++----------------------
>  2 files changed, 32 insertions(+), 29 deletions(-)

Acked-by: Luca Boccassi <bluca@xxxxxxxxxx>



[Index of Archives]     [linux Cryptography]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]

  Powered by Linux