History

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).

Urs Janssen committed 13 years ago

Commit bfde3391 parent cec76c81 file · +1 −1Browse files

Unified · Split

Makefile+1−1
@@ -8,7 +8,7 @@ VPATH = $(top_srcdir) · 7 unmodified lines
8 8
9CPPFLAGS = -I$(TOP) # for config.h9CPPFLAGS = -I$(TOP) # for config.h
10 10
11ifeq (-$(findstring clang,$(CC))-,-gcc-)11ifeq (-$(findstring gcc,$(CC))-,-gcc-)
12ifeq (-$(findstring $(GCC_MAJOR),01)-,--)12ifeq (-$(findstring $(GCC_MAJOR),01)-,--)
13CFLAGS+=-fno-strict-aliasing13CFLAGS+=-fno-strict-aliasing
14ifeq (-$(findstring $(GCC_MAJOR),23)-,--)14ifeq (-$(findstring $(GCC_MAJOR),23)-,--)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t