Commit 5144e567 authored by deuce's avatar deuce
Browse files

Must now set DONT_CLOBER_CC to use the predefined CC value.

(Keeps things out of cc.* and back in gcc.*)
parent 62df9261
...@@ -16,14 +16,22 @@ endif ...@@ -16,14 +16,22 @@ endif
# Compiler-specific options # Compiler-specific options
CFLAGS += -MMD CFLAGS += -MMD
ifdef BUILD_DEPENDS ifdef BUILD_DEPENDS
CC ?= gcc ifdef DONT_CLOBBER_CC
CC ?= gcc
else
CC := gcc
endif
CCPRE := $(CC) CCPRE := $(CC)
CC := $(XPDEV)/../build/mkdep -a CC := $(XPDEV)/../build/mkdep -a
CXX := $(XPDEV)/../build/mkdep -a CXX := $(XPDEV)/../build/mkdep -a
LD := echo LD := echo
COMPILE_MSG := Depending COMPILE_MSG := Depending
else else
CC ?= gcc ifdef DONT_CLOBBER_CC
CC ?= gcc
else
CC ?= gcc
endif
CCPRE := $(CC) CCPRE := $(CC)
CXX ?= g++ CXX ?= g++
LD ?= ld LD ?= ld
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment