diff options
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -142,13 +142,14 @@ typedef int BOOL; /* path to find crt1.o, crti.o and crtn.o. Only needed when generating executables or dlls */ -#if defined(TCC_TARGET_X86_64_CENTOS) -# define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr/lib64" -# define CONFIG_TCC_LDDIR "/lib64" -#else -# define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr/lib" -# define CONFIG_TCC_LDDIR "/lib" +#ifndef CONFIG_TCC_LDDIR + #if defined(TCC_TARGET_X86_64_CENTOS) + #define CONFIG_TCC_LDDIR "/lib64" + #else + #define CONFIG_TCC_LDDIR "/lib" + #endif #endif +#define CONFIG_TCC_CRT_PREFIX CONFIG_SYSROOT "/usr" CONFIG_TCC_LDDIR #define INCLUDE_STACK_SIZE 32 #define IFDEF_STACK_SIZE 64 |
