makefile-engine: use $(CC) and $(CXX) instead of gcc and g++.

* so that one can build with clang.
This commit is contained in:
Jérôme Duval
2017-01-24 17:30:36 +01:00
parent 970591cb2d
commit cdf894ce17
+3 -3
View File
@@ -35,8 +35,8 @@ endif
MIMESET := mimeset MIMESET := mimeset
XRES := xres XRES := xres
RESCOMP := rc RESCOMP := rc
CC := gcc CC := $(CC)
C++ := g++ C++ := $(CXX)
# Set up CFLAGS. # Set up CFLAGS.
ifeq ($(strip $(TYPE)), DRIVER) ifeq ($(strip $(TYPE)), DRIVER)
@@ -79,7 +79,7 @@ endif
# Set up the linker & linker flags. # Set up the linker & linker flags.
ifeq ($(origin LD), default) ifeq ($(origin LD), default)
LD := gcc LD := $(CC)
endif endif
LDFLAGS += $(DEBUG) LDFLAGS += $(DEBUG)