History

x86_64: finish biarch path fixup

Henry Kroll III committed 15 years ago

Commit 77e46791 parent 44e84bb2 files · +2 −2Browse files

Unified · Split

2 files
  1. libtcc.c +1 −1
  2. tccelf.c +1 −1
libtcc.c+1−1
@@ -962,7 +962,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 961 unmodified lines
962962 #ifndef TCC_TARGET_PE
963963 /* default library paths */
964964 tcc_add_library_path(s, CONFIG_TCC_CRT_PREFIX);
965− tcc_add_library_path(s, CONFIG_TCC_LDDIR);
965+ tcc_add_library_path(s, CONFIG_SYSROOT CONFIG_TCC_LDDIR);
966966 tcc_add_library_path(s, CONFIG_SYSROOT "/usr/local"CONFIG_TCC_LDDIR);
967967 #endif
968968
tccelf.c+1−1
@@ -1251,7 +1251,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1) · 1250 unmodified lines
12511251 if (!s1->nostdlib) {
12521252 #ifdef CONFIG_USE_LIBGCC
12531253 tcc_add_library(s1, "c");
1254− tcc_add_file(s1, CONFIG_TCC_LDDIR"/libgcc_s.so.1");
1254+ tcc_add_file(s1, CONFIG_SYSROOT CONFIG_TCC_LDDIR"/libgcc_s.so.1");
12551255 #else
12561256 tcc_add_library(s1, "c");
12571257 #ifndef WITHOUT_LIBTCC

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t