summaryrefslogtreecommitdiff
blob: 13d99ade0771e73643db9ecbd7d044980475b5cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
GNU make always defaults CC to "cc", so using "?=" with the CC variable
will never override the internal make value.  since @CC@ comes from the
configure script, and that respects the $CC env var, don't bother trying
to handle it in make too.  it's not like we do this with any other build
variable after all.

--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -17,7 +17,7 @@
 
 @SET_MAKE@
 
-CC ?= @CC@
+CC = @CC@
 RANLIB = @RANLIB@
 INSTALL = @INSTALL@
 MKDIR_P = @MKDIR_P@