x86_64: finish biarch path fixup
This commit is contained in:
parent
44e84bb22a
commit
77e4679aec
2 changed files with 2 additions and 2 deletions
2
libtcc.c
2
libtcc.c
|
|
@ -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
|
||||
|
||||
|
|
|
|||
2
tccelf.c
2
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue