Re: [Mesa-dev] [PATCH] configure.ac: Drop LLVM compiler flags more radically

2017-02-17 Thread Michel Dänzer
On 17/02/17 06:01 PM, Eero Tamminen wrote: > Hi, > > On 10.02.2017 02:59, Michel Dänzer wrote: >> On 09/02/17 10:50 PM, Emil Velikov wrote: >>> On 9 February 2017 at 08:07, Michel Dänzer wrote: From: Michel Dänzer Drop all -m*, -W*, -O*, -g* and -f* flags, with the exception of >>

Re: [Mesa-dev] [PATCH] configure.ac: Drop LLVM compiler flags more radically

2017-02-17 Thread Eero Tamminen
Hi, On 10.02.2017 02:59, Michel Dänzer wrote: On 09/02/17 10:50 PM, Emil Velikov wrote: On 9 February 2017 at 08:07, Michel Dänzer wrote: From: Michel Dänzer 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 --cxxf

Re: [Mesa-dev] [PATCH] configure.ac: Drop LLVM compiler flags more radically

2017-02-09 Thread Michel Dänzer
On 09/02/17 10:50 PM, Emil Velikov wrote: > On 9 February 2017 at 08:07, Michel Dänzer wrote: >> From: Michel Dänzer >> >> 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

Re: [Mesa-dev] [PATCH] configure.ac: Drop LLVM compiler flags more radically

2017-02-09 Thread Emil Velikov
On 9 February 2017 at 08:07, Michel Dänzer wrote: > From: Michel Dänzer > > 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

Re: [Mesa-dev] [PATCH] configure.ac: Drop LLVM compiler flags more radically

2017-02-09 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Feb 9, 2017 at 9:07 AM, Michel Dänzer wrote: > From: Michel Dänzer > > 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

[Mesa-dev] [PATCH] configure.ac: Drop LLVM compiler flags more radically

2017-02-09 Thread Michel Dänzer
From: Michel Dänzer 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 differen