1
0
mirror of https://github.com/mirror/tinycc.git synced 2025-01-27 06:10:06 +08:00

x86_64: finish biarch path fixup

This commit is contained in:
Henry Kroll III 2010-11-25 10:08:58 -08:00
parent 44e84bb22a
commit 77e4679aec
2 changed files with 2 additions and 2 deletions

View File

@ -962,7 +962,7 @@ LIBTCCAPI TCCState *tcc_new(void)
#ifndef TCC_TARGET_PE #ifndef TCC_TARGET_PE
/* default library paths */ /* default library paths */
tcc_add_library_path(s, CONFIG_TCC_CRT_PREFIX); 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); tcc_add_library_path(s, CONFIG_SYSROOT "/usr/local"CONFIG_TCC_LDDIR);
#endif #endif

View File

@ -1251,7 +1251,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1)
if (!s1->nostdlib) { if (!s1->nostdlib) {
#ifdef CONFIG_USE_LIBGCC #ifdef CONFIG_USE_LIBGCC
tcc_add_library(s1, "c"); 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 #else
tcc_add_library(s1, "c"); tcc_add_library(s1, "c");
#ifndef WITHOUT_LIBTCC #ifndef WITHOUT_LIBTCC