Re: 3d3d6b847420 ("kbuild: LLVMLinux: Adapt warnings for compilation with clang")

Jan-Simon Möller
2014-06-16T15:48:06Z

Ok, let's wrap this case with

ifeq ($(COMPILER),clang)
...
endif

And we'll update the stale entries.

Patch to follow after some testing.

--

Dipl.-Ing.
Jan-Simon Möller

jansimon.moeller@gmx.de
Am Montag, 16. Juni 2014, 17:29:25 schrieb PaX Team:
> On 16 Jun 2014 at 15:07, Borislav Petkov wrote:
> > Please fix this to have effect only for clang but not for the rest of
> > the universe.
>
> i'd suggest reverting it instead, there're probably some stale entries
> in there already (e.g., -fcatch-undefined-behavior).