aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorHenry Kroll III <henry@comptune.com>2010-11-25 10:08:58 -0800
committerHenry Kroll III <henry@comptune.com>2010-11-25 10:08:58 -0800
commit77e4679aec7196a8abb99362a456850591d2062d (patch)
tree0d5701156c12481408e907dcdae3565bdc9a6a6a /tccelf.c
parent44e84bb22adc78844ac1c08e6f8a6d0278a942d8 (diff)
downloadtinycc-77e4679aec7196a8abb99362a456850591d2062d.tar.gz
tinycc-77e4679aec7196a8abb99362a456850591d2062d.tar.bz2
x86_64: finish biarch path fixup
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccelf.c b/tccelf.c
index a1ecf95..21a14d5 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1251,7 +1251,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1)
if (!s1->nostdlib) {
#ifdef CONFIG_USE_LIBGCC
tcc_add_library(s1, "c");
- tcc_add_file(s1, CONFIG_TCC_LDDIR"/libgcc_s.so.1");
+ tcc_add_file(s1, CONFIG_SYSROOT CONFIG_TCC_LDDIR"/libgcc_s.so.1");
#else
tcc_add_library(s1, "c");
#ifndef WITHOUT_LIBTCC