lkml.org 
[lkml]   [2017]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags
From
Date
On 03/17/17 14:32, H. Peter Anvin wrote:
>
> NAK. Fix your compiler, or use a wrapper script or something. It is
> absolutely *not* acceptable to disable this since future versions of
> clang *should* support that.
>
> That being said, it might make sense to look for a key pattern like
> "(un|not )supported" on stderr the try-run macro. Is there really no
> -Wno- or -Werror= option to turn off this craziness?
>

Well, guess what... I found it myself.

-W{no-,error=}ignored-optimization-argument

Either variant will make this sane.

-hpa


\
 
 \ /
  Last update: 2017-03-17 22:35    [W:0.087 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site