diff options
| author | grischka <grischka> | 2013-02-06 19:01:07 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2013-02-06 19:01:07 +0100 |
| commit | 7a477d70cabe15fa66fd0f32fab5e95841a500e5 (patch) | |
| tree | 93e20aacb3f5ede1dda9ed987fc4558ebc17a9cf /tcc.h | |
| parent | 92024ab07ad8e1c4a05f90add3d3ca7932251016 (diff) | |
| download | tinycc-7a477d70cabe15fa66fd0f32fab5e95841a500e5.tar.gz tinycc-7a477d70cabe15fa66fd0f32fab5e95841a500e5.tar.bz2 | |
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)
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |
