From f1c9f649da5b852929e537101edbbaabe99cb90c Mon Sep 17 00:00:00 2001 From: Henry Kroll III Date: Thu, 25 Nov 2010 02:57:19 -0800 Subject: x86_64: fix --with-libgcc and simplify biarch paths --- tcc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 492c724..b35e67a 100644 --- a/tcc.h +++ b/tcc.h @@ -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 -- cgit v1.3.1