egl: remove compiler flags from CFLAGS
authorBrian Paul <brianp@vmware.com>
Wed, 25 Feb 2009 15:45:08 +0000 (08:45 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 25 Feb 2009 15:45:08 +0000 (08:45 -0700)
The incoming CFLAGS already has -fPIC and -Wall.  Don't want -g here either.

src/gallium/state_trackers/egl/Makefile

index 537ca19..692a3c8 100644 (file)
@@ -6,9 +6,7 @@ TOP        = ../../../..
 
 include ${TOP}/configs/current
 
-# XXX: We shouldn't be specifying special compiler flags here.
-# Flags should come from the configuration file instead.
-CFLAGS:= -g -Wall -Werror-implicit-function-declaration -fPIC \
+CFLAGS := \
           -I${GALLIUMDIR}/include \
           -I${GALLIUMDIR}/auxiliary \
           -I${TOP}/src/mesa/drivers/dri/common \