<p dir="ltr"><br>
On 26 Nov 2012 23:53, "Johannes Obermayr" <<a href="mailto:johannesobermayr@gmx.de">johannesobermayr@gmx.de</a>> wrote:<br>
><br>
> Am Dienstag, 20. November 2012, 12:44:48 schrieb Johannes Obermayr:<br>
> > Am Dienstag, 20. November 2012, 06:41:22 schrieb Dave Airlie:<br>
> > > > $ llvm-config --cxxflags<br>
> > > ><br>
> > > > -I/usr/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2<br>
> > > > -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC<br>
> > > > -fvisibility-inlines-hidden -O2 -g -D_GNU_SOURCE -Wall -W<br>
> > > > -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long<br>
> > > > -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br>
> > ><br>
> > > And this is why we don't include LLVM CXX flags :-)<br>
> > ><br>
> > > notice the -g -O2 -Wall bits? not something that pkg-config wants in its flags.<br>
> > ><br>
> > > Dave.<br>
> ><br>
> > Does that mean the required patch does not go mainline and you want to remove LLVM_CXXFLAGS from these files:<br>
> ><br>
> > $ grep -r -n -e "LLVM_CXXFLAGS"<br>
> > configure.ac:1491:AC_SUBST([LLVM_CXXFLAGS])<br>
> > <a href="http://configure.ac:1678">configure.ac:1678</a>: LLVM_CXXFLAGS=`$LLVM_CONFIG --cxxflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g' -e 's/-Wcovered-switch-default//g'`<br>
> > src/gallium/drivers/radeon/Makefile:13:CXXFLAGS+= $(LLVM_CXXFLAGS)<br>
> > src/gallium/drivers/r600/Makefile.am:37: $(LLVM_CXXFLAGS)<br>
> > src/gallium/auxiliary/Makefile:16:CXXFLAGS += $(LLVM_CXXFLAGS)<br>
> > configs/current.in:34:LLVM_CXXFLAGS = @LLVM_CXXFLAGS@<br>
><br>
> Because Dave has not answered:<br>
> Ping to get the patch pushed by somebody with permissions<br></p>
<p dir="ltr">Well I was hoping someone would investigate... Dig in Git see where we removed these before or if we did</p>
<p dir="ltr">Dave<br>
</p>