cleanup some partially broken patches
- tests/Makefile: fix commitde54586d5bThis hunk it unrelated to the other changes (which are about MacOSX). It is not useful and partially wrong. Optional tests are meant to stay optional, btest would work only for i386 - tcc.h: fix commitc52d79605aby unknown The message says it's for MINTW but the patch has obviously no effect for MINGW (which defines __GNUC__). However the patch seems useful for MSC which however needs _strto(u)i64 with underscore. - Makefile: fix commit5280293d6bDo not build tcc.o with -DONE_SOURCE because we finally build tcc from tcc.o and libtcc.a/so
This commit is contained in:
2
Makefile
2
Makefile
@ -196,7 +196,7 @@ LIBTCC_INC = $(filter %.h,$(CORE_FILES)) $(filter-out $(CORE_FILES),$(NATIVE_FIL
|
||||
else
|
||||
LIBTCC_OBJ = libtcc.o
|
||||
LIBTCC_INC = $(NATIVE_FILES)
|
||||
$(LIBTCC_OBJ) tcc.o : NATIVE_DEFINES += -DONE_SOURCE
|
||||
libtcc.o : NATIVE_DEFINES += -DONE_SOURCE
|
||||
endif
|
||||
|
||||
$(LIBTCC_OBJ) tcc.o : %.o : %.c $(LIBTCC_INC)
|
||||
|
||||
Reference in New Issue
Block a user