diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ VPATH = $(top_srcdir) CPPFLAGS = -I$(TOP) # for config.h +ifeq (-$(findstring clang,$(CC))-,-gcc-) ifeq (-$(findstring $(GCC_MAJOR),01)-,--) CFLAGS+=-fno-strict-aliasing ifeq (-$(findstring $(GCC_MAJOR),23)-,--) @@ -18,6 +19,7 @@ else CFLAGS+=-Wno-unused-result endif endif +endif else # not GCC ifeq (-$(findstring clang,$(CC))-,-clang-) # make clang accept gnuisms in libtcc1.c |
