summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrs Janssen <urs@hq.tin.org>2013-02-15 13:04:39 +0100
committerUrs Janssen <urs@hq.tin.org>2013-02-15 13:04:39 +0100
commitbfde339b8cd544c58eb519db3c22ca9c7520daff (patch)
tree4b435d25ca2adbf30c2e81a4effe37f664a218aa
parentcec76c8b8a7a4077032a205bdb7dca70bb10be62 (diff)
fixed pasto in in 108b2876; background for the additional $CC test is:
GCC_MAJOR may be set even is $CC not realy gcc (but i.e. clang, which (as of 3.1) requires an addtional CFLAG to accept the non portable (gnuisms all over the place; try to cimpile tcc with Sun^HOracle, Intel, Pathscale, ... compiler) code).
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 59a3ed7..705b585 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ VPATH = $(top_srcdir)
CPPFLAGS = -I$(TOP) # for config.h
-ifeq (-$(findstring clang,$(CC))-,-gcc-)
+ifeq (-$(findstring gcc,$(CC))-,-gcc-)
ifeq (-$(findstring $(GCC_MAJOR),01)-,--)
CFLAGS+=-fno-strict-aliasing
ifeq (-$(findstring $(GCC_MAJOR),23)-,--)