The Makefile now adds autoconf information to the compiler and linker flag
authorJohn Criswell <criswell@uiuc.edu>
Tue, 1 Jul 2003 15:02:59 +0000 (15:02 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Tue, 1 Jul 2003 15:02:59 +0000 (15:02 +0000)
variables instead of overwriting those variables.  This makes it more flexible
and keeps some of the test Makefiles from breaking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7025 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.config.in

index 7c85e10c0b5baeb7e379faef13a5f6144a354498..9480219db8e9875ef499ec840dd2424e09a535fb 100644 (file)
@@ -26,14 +26,14 @@ CC := @CC@
 #
 # Compilation flags for the C and C++ compilers.
 #
-CPPFLAGS=@DEFS@
-CCFLAGS=@DEFS@
-LDFLAGS=@LDFLAGS@
+CPPFLAGS+=@DEFS@
+CCFLAGS+=@DEFS@
+LDFLAGS+=@LDFLAGS@
 
 #
 # Removed since it prevents the tests from working properly.
 #
-#LIBS=@LIBS@
+#LIBS+=@LIBS@
 
 #
 # Libraries needed by tools