diff mk/rules.mk.in @ 1842:d1b88145846f trunk

[svn] - Replace ?= at CFLAGS, CPPFLAGS and CXXFLAGS with += - Replace ?= at CC, CPP and CXX with = The reason for this is that on some systems CC, CFLAGS, CPP, CPPFLAGS, CXX and CXXFLAGS are set by default and therefore are already set at this step so that it can happen that the wrong variables are used (or the ones from the configure script are ignored).
author js
date Sat, 07 Oct 2006 13:31:15 -0700
parents e4d9d2657d9a
children 8b63c8a65ae7
line wrap: on
line diff
--- a/mk/rules.mk.in	Fri Oct 06 10:50:55 2006 -0700
+++ b/mk/rules.mk.in	Sat Oct 07 13:31:15 2006 -0700
@@ -83,17 +83,17 @@
 BUILDERS_LDFLAGS ?= @BUILDERS_LDFLAGS@
 BUILD_INCLUDED_LIBINTL ?= @BUILD_INCLUDED_LIBINTL@
 CATOBJEXT ?= @CATOBJEXT@
-CC ?= @CC@
+CC = @CC@
 CCAS ?= @CCAS@
 CCASFLAGS ?= @CCASFLAGS@
 CCDEPMODE ?= @CCDEPMODE@
-CFLAGS ?= @CFLAGS@
-CPP ?= @CPP@
-CPPFLAGS ?= @CPPFLAGS@
-CXX ?= @CXX@
+CFLAGS += @CFLAGS@
+CPP = @CPP@
+CPPFLAGS += @CPPFLAGS@
+CXX = @CXX@
 CXXCPP ?= @CXXCPP@
 CXXDEPMODE ?= @CXXDEPMODE@
-CXXFLAGS ?= @CXXFLAGS@
+CXXFLAGS += @CXXFLAGS@
 CYGPATH_W ?= @CYGPATH_W@
 DATADIRNAME ?= @DATADIRNAME@
 DCT64 ?= @DCT64@