Hello,

Can someone explain the value of including this in 
mesa/src/gallium/Makefile.template:

ifeq ($(MESA_LLVM),1)
LIBRARY_DEFINES += $(LLVM_CFLAGS)
endif

?
This effectively adds the LLVM cflags to gcc compiles if LLVM is enabled. One 
side-effect of this is to include -O3 optimization no matter what, making 
debugging very difficult. Removing it seems to have no catastrophic effects (or 
even detectable ones). 
But maybe I am missing something. 

Best Wishes,

Bob Gleitsmann
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to