diff options
| author | Henry Kroll III <henry@comptune.com> | 2010-11-25 10:08:58 -0800 |
|---|---|---|
| committer | Henry Kroll III <henry@comptune.com> | 2010-11-25 10:08:58 -0800 |
| commit | 77e4679aec7196a8abb99362a456850591d2062d (patch) | |
| tree | 0d5701156c12481408e907dcdae3565bdc9a6a6a | |
| parent | 44e84bb22adc78844ac1c08e6f8a6d0278a942d8 (diff) | |
| download | tinycc-77e4679aec7196a8abb99362a456850591d2062d.tar.gz tinycc-77e4679aec7196a8abb99362a456850591d2062d.tar.bz2 | |
x86_64: finish biarch path fixup
| -rw-r--r-- | libtcc.c | 2 | ||||
| -rw-r--r-- | tccelf.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -962,7 +962,7 @@ LIBTCCAPI TCCState *tcc_new(void) #ifndef TCC_TARGET_PE /* default library paths */ tcc_add_library_path(s, CONFIG_TCC_CRT_PREFIX); - tcc_add_library_path(s, CONFIG_TCC_LDDIR); + tcc_add_library_path(s, CONFIG_SYSROOT CONFIG_TCC_LDDIR); tcc_add_library_path(s, CONFIG_SYSROOT "/usr/local"CONFIG_TCC_LDDIR); #endif @@ -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 |
