lib/Makefile: use CC, add bcheck to libtcc1.a
Also: - fix "make tcc_p" (profiling version) - remove old gcc flags: -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 - remove test "hello" for Darwin (cannot compile to file)
This commit is contained in:
8
tcc.h
8
tcc.h
@ -47,7 +47,9 @@
|
||||
# include <sys/time.h>
|
||||
# include <sys/ucontext.h>
|
||||
# include <sys/mman.h>
|
||||
# include <dlfcn.h>
|
||||
# ifndef CONFIG_TCC_STATIC
|
||||
# include <dlfcn.h>
|
||||
# endif
|
||||
#else
|
||||
# include <windows.h>
|
||||
# include <sys/timeb.h>
|
||||
@ -134,10 +136,6 @@
|
||||
#define CONFIG_TCC_BCHECK /* enable bound checking code */
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(TCC_TARGET_PE)
|
||||
#define CONFIG_TCC_STATIC
|
||||
#endif
|
||||
|
||||
/* define it to include assembler support */
|
||||
#if !defined(TCC_TARGET_ARM) && !defined(TCC_TARGET_C67)
|
||||
#define CONFIG_TCC_ASM
|
||||
|
||||
Reference in New Issue
Block a user