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
962#ifndef TCC_TARGET_PE962#ifndef TCC_TARGET_PE
963 /* default library paths */963 /* default library paths */
964 tcc_add_library_path(s, CONFIG_TCC_CRT_PREFIX);964 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);
966 tcc_add_library_path(s, CONFIG_SYSROOT "/usr/local"CONFIG_TCC_LDDIR);966 tcc_add_library_path(s, CONFIG_SYSROOT "/usr/local"CONFIG_TCC_LDDIR);
967#endif967#endif
968 968
tccelf.c+1−1
@@ -1251,7 +1251,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1) · 1250 unmodified lines
1251 if (!s1->nostdlib) {1251 if (!s1->nostdlib) {
1252#ifdef CONFIG_USE_LIBGCC1252#ifdef CONFIG_USE_LIBGCC
1253 tcc_add_library(s1, "c");1253 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");
1255#else1255#else
1256 tcc_add_library(s1, "c");1256 tcc_add_library(s1, "c");
1257#ifndef WITHOUT_LIBTCC1257#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