summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorTobias Droste <tdroste@gmx.de>2011-03-16 18:45:29 +0100
committerKenneth Graunke <kenneth@whitecape.org>2011-03-16 13:54:50 -0700
commitf3a828c21fcb95c67868f0224ab4ec92f54eee7f (patch)
tree84e6f8e7b5a66855564283c0dead25e1bac8950c /src/mesa/Makefile
parent2baac48f3900b6e7a6443c6c116899cf95275629 (diff)
autoconf: don't use CFLAGS for cpp files
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 10d73f000e3..03962e9c194 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -43,7 +43,7 @@ endef
define mesa-cxx-c
@mkdir -p $(dir $@)
- $(CXX) -c -o $@ $< $($(1)_CPPFLAGS) $($(1)_CFLAGS) $($(1)_CXXFLAGS)
+ $(CXX) -c -o $@ $< $($(1)_CPPFLAGS) $($(1)_CXXFLAGS)
endef
$(MESA_OBJ_DIR)/%.o: %.c