Mesa (master): egl: remove compiler flags from CFLAGS
Brian Paul
brianp at kemper.freedesktop.org
Wed Feb 25 15:46:10 UTC 2009
Module: Mesa
Branch: master
Commit: f2a5c6b42ce0272db10aff3fd476b1371912b0f4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2a5c6b42ce0272db10aff3fd476b1371912b0f4
Author: Brian Paul <brianp at vmware.com>
Date: Wed Feb 25 08:45:08 2009 -0700
egl: remove compiler flags from CFLAGS
The incoming CFLAGS already has -fPIC and -Wall. Don't want -g here either.
---
src/gallium/state_trackers/egl/Makefile | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/egl/Makefile b/src/gallium/state_trackers/egl/Makefile
index 537ca19..692a3c8 100644
--- a/src/gallium/state_trackers/egl/Makefile
+++ b/src/gallium/state_trackers/egl/Makefile
@@ -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 \
More information about the mesa-commit
mailing list