aboutsummaryrefslogtreecommitdiffstats
path: root/data/develop/makefile-engine
diff options
context:
space:
mode:
authorJérôme Duval <jerome.duval@gmail.com>2017-01-24 17:30:36 +0100
committerJérôme Duval <jerome.duval@gmail.com>2017-01-24 17:30:36 +0100
commitcdf894ce17f72d23be5e729a5d6877b7124c4654 (patch)
tree0e1c2230527d9137cf464cca83c87c7811562ecc /data/develop/makefile-engine
parent970591cb2d9c4ed7471e7a05d331f1648ce9ca50 (diff)
makefile-engine: use $(CC) and $(CXX) instead of gcc and g++.hrev50898
* so that one can build with clang.
Diffstat (limited to 'data/develop/makefile-engine')
-rw-r--r--data/develop/makefile-engine6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/develop/makefile-engine b/data/develop/makefile-engine
index 504d9c57c5..ce2aa91906 100644
--- a/data/develop/makefile-engine
+++ b/data/develop/makefile-engine
@@ -35,8 +35,8 @@ endif
MIMESET := mimeset
XRES := xres
RESCOMP := rc
-CC := gcc
-C++ := g++
+CC := $(CC)
+C++ := $(CXX)
# Set up CFLAGS.
ifeq ($(strip $(TYPE)), DRIVER)
@@ -79,7 +79,7 @@ endif
# Set up the linker & linker flags.
ifeq ($(origin LD), default)
- LD := gcc
+ LD := $(CC)
endif
LDFLAGS += $(DEBUG)