[Mesa-dev] [PATCH] configure.ac: Drop LLVM compiler flags more radically
Emil Velikov
emil.l.velikov at gmail.com
Thu Feb 9 13:50:15 UTC 2017
On 9 February 2017 at 08:07, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Drop all -m*, -W*, -O*, -g* and -f* flags, with the exception of
> -fno-rtti, which must be used if it's part of the llvm-config --cxxflags
> output. We don't want LLVM to dictate the flags we use, and it can even
> cause build failures, e.g. if LLVM and Mesa are built with different
> compilers.
>
Yes, please !
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Out of curiosity:
Are you speaking of personal experience ? What was stored in the
c/cpp/cxx flags that triggered build failure ?
-Emil
More information about the mesa-dev
mailing list