summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2fa6c35)
raw | patch | inline | side by side (parent: 2fa6c35)
author | Chris Lattner <sabre@nondot.org> | |
Sat, 23 Aug 2003 15:56:38 +0000 (15:56 +0000) | ||
committer | Chris Lattner <sabre@nondot.org> | |
Sat, 23 Aug 2003 15:56:38 +0000 (15:56 +0000) |
Makefile.common | patch | blob | history | |
Makefile.rules | patch | blob | history |
diff --git a/Makefile.common b/Makefile.common
index a524f0b9f193f3618e9a30e70ce4aa133118cdba..9f0c523735ae902d3192721e5fbfc1475925ecf6 100644 (file)
--- a/Makefile.common
+++ b/Makefile.common
# Compile commands with libtool.
#
Compile := $(LIBTOOL) --mode=compile $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts)
-CompileC := $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CCFLAGS) $(CompileCommonOpts)
+CompileC := $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(CompileCommonOpts)
# Compile a cpp file, don't link...
CompileG := $(Compile) -g -D_DEBUG
diff --git a/Makefile.rules b/Makefile.rules
index a524f0b9f193f3618e9a30e70ce4aa133118cdba..9f0c523735ae902d3192721e5fbfc1475925ecf6 100644 (file)
--- a/Makefile.rules
+++ b/Makefile.rules
# Compile commands with libtool.
#
Compile := $(LIBTOOL) --mode=compile $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts)
-CompileC := $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CCFLAGS) $(CompileCommonOpts)
+CompileC := $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(CompileCommonOpts)
# Compile a cpp file, don't link...
CompileG := $(Compile) -g -D_DEBUG