aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 426fbb9..21632fc 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,11 @@ endif
endif
endif
+# make clang accept gnuisms in libtcc1.c
+ifeq ($(CC),clang)
+CFLAGS+=-fheinous-gnu-extensions
+endif
+
ifdef CONFIG_WIN64
CONFIG_WIN32=yes
endif