aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorHenry Kroll III <henry@comptune.com>2010-11-25 02:57:19 -0800
committerHenry Kroll III <henry@comptune.com>2010-11-25 02:57:19 -0800
commitf1c9f649da5b852929e537101edbbaabe99cb90c (patch)
treea86f04427f1dc309df73aefae25cbd091eecbf40 /tcc.h
parent9036c18170ce5fdf386ef7f19b81e852b0a7b3e8 (diff)
downloadtinycc-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.h3
1 files changed, 3 insertions, 0 deletions
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