termux-packages/packages/binutils/options.cc.patch64
its-pointless db75340215 llvm: Update from 5.0.1 to 6.0
Also build our own libomp.
2018-03-20 23:10:53 +01:00

14 lines
563 B
Plaintext

--- ../cache/binutils-2.30/gold/options.cc 2018-01-13 13:31:16.000000000 +0000
+++ ./gold/options.cc 2018-03-11 23:20:26.295331766 +0000
@@ -1227,8 +1227,8 @@
|| this->user_set_sysroot()
|| *TARGET_SYSTEM_ROOT != '\0')
{
- this->add_to_library_path_with_sysroot("/lib");
- this->add_to_library_path_with_sysroot("/usr/lib");
+ this->add_to_library_path_with_sysroot("/data/data/com.termux/files/usr/lib");
+ this->add_to_library_path_with_sysroot("/system/lib64");
}
else
this->add_to_library_path_with_sysroot(TOOLLIBDIR);