blob: 13d99ade0771e73643db9ecbd7d044980475b5cd [file] [log] [blame]
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@