diff options
| author | Henry Kroll III <henry@comptune.com> | 2010-11-25 02:57:19 -0800 |
|---|---|---|
| committer | Henry Kroll III <henry@comptune.com> | 2010-11-25 02:57:19 -0800 |
| commit | f1c9f649da5b852929e537101edbbaabe99cb90c (patch) | |
| tree | a86f04427f1dc309df73aefae25cbd091eecbf40 /tcc.h | |
| parent | 9036c18170ce5fdf386ef7f19b81e852b0a7b3e8 (diff) | |
| download | tinycc-f1c9f649da5b852929e537101edbbaabe99cb90c.tar.gz tinycc-f1c9f649da5b852929e537101edbbaabe99cb90c.tar.bz2 | |
x86_64: fix --with-libgcc and simplify biarch paths
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -140,10 +140,13 @@ 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" #endif #define INCLUDE_STACK_SIZE 32 |
