Skip to content
Snippets Groups Projects
Commit 33386cb7 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Remove unneeded backslashes from CCPRE detection.

GNU grep >= 3.8 complains and it's highly confusing.
Thanks for sticking with it Dan_C.
parent 7a4c340f
Branches
Tags
No related merge requests found
......@@ -179,7 +179,7 @@ endif
# Compiler-specific options
CFLAGS += -MMD -MP
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 ?= ${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}
ifeq ($(CCPRE),clang)
ifeq ($(CC),cc)
CXX := c++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment