]> git.tuebingen.mpg.de Git - osl.git/blobdiff - Makefile
build: Fix manual setting of CC.
[osl.git] / Makefile
index 66745146bfabff1e9bbc947cdbcfeaec1b9959a1..87c7d29a0c35afa394764d523911a7d9d9c661d7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@
 # increases performance and avoids hard-to-debug behaviour.
 .SUFFIXES:
 MAKEFLAGS += -Rr
-ifeq ("$(origin CC)", "default")
+CC := $(CC)
+ifeq ($(strip $(CC)),)
        CC := cc
 endif