- make clang accept unportable code in libtcc1.c

- add -dumpversion cmd.line opt
This commit is contained in:
Urs Janssen
2013-02-14 08:24:51 +01:00
parent 944627c479
commit 062efe6ab8
3 changed files with 11 additions and 0 deletions

View File

@ -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