diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-07-08 09:28:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-07-08 09:28:45 +0000 |
commit | 71df6161874a127bb7b512ca8206516be90e46cd (patch) | |
tree | cc1b6debddc07812bc907707eab78d877cfd1ccb | |
parent | 5fc66aadd0b77ccf660e2d5a128350e59ca8640c (diff) |
Explicitly pass -L/usr/lib to the linker. Needed for switching to lld(1)
as the default linker on armv7.
ok espie@
-rw-r--r-- | gnu/gcc/gcc/config/arm/openbsd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/gcc/gcc/config/arm/openbsd.h b/gnu/gcc/gcc/config/arm/openbsd.h index 0daacab4d4d..de10943479f 100644 --- a/gnu/gcc/gcc/config/arm/openbsd.h +++ b/gnu/gcc/gcc/config/arm/openbsd.h @@ -76,7 +76,8 @@ Boston, MA 02111-1307, USA. */ %{!static:-Bdynamic} \ %{rdynamic:-export-dynamic} \ %{assert*} \ - %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}" + %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so} \ + %{!nostdlib:-L/usr/lib}" #endif #undef SUBTARGET_EXTRA_ASM_SPEC |