aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-18 00:30:30 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-18 00:30:30 +0200
commite9eba8f3b18d39496a2cb647e40f129626d344c3 (patch)
treed947620d00f052b04dc1d938b1cd62dcfc4e1f36
parentmake gcc specific flags only present when gcc is selected (diff)
downloadlibgamma-e9eba8f3b18d39496a2cb647e40f129626d344c3.tar.gz
libgamma-e9eba8f3b18d39496a2cb647e40f129626d344c3.tar.bz2
libgamma-e9eba8f3b18d39496a2cb647e40f129626d344c3.tar.xz
make gcc autoselected if CC env is not set
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 518098b..a9904bf 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ PKGNAME ?= libgamma
GPP ?= gpp
# C compiler, GNU C Compiler by default
-CC = gcc
+CC ?= gcc
# Enabled warnings.