Commit 539f5a3d authored by deuce's avatar deuce
Browse files

Copy CCPRE setting from build/Common.gmake to handle non-gcc compilers.

parent 4b9400fa
......@@ -46,7 +46,9 @@ ifdef bcc
CCPRE := bcc
MKFLAGS += bcc=1
else
CCPRE := gcc
CC ?= gcc
CCPRE ?= ${shell if [ `echo __clang__ | $(CC) -E - | grep -v '^\#'` != __clang__ ] ; then echo clang ; elif [ `echo __INTEL_COMPILER | $(CC) -E - | grep -v '^\#'` != __INTEL_COMPILER ] ; then echo icc ; else echo gcc ; fi}
CCPRE := $(lastword $(subst /, ,$(CCPRE)))
endif
INSTALL ?= CLASSIC # Can be CLASSIC or UNIX
......
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