Skip to content
Snippets Groups Projects
Commit 539f5a3d authored by deuce's avatar deuce
Browse files

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

parent 4b9400fa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment