diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-03-18 16:45:33 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-03-18 16:45:33 +0000 |
commit | d965bd1276d9b0b4b819017a1907c7039176c52b (patch) | |
tree | 14b2ea8cdb61725914b5ab99d085b1101d9dc869 /regress/libexec/ld.so | |
parent | fa2bd37d2e6baa31b6e59c299cf8f4062b041343 (diff) |
The prog3 sub-tests tests DT_RPATH behaviour. Add --disable-new-dtags to
the linker options such that DT_RPATH gets set instead of DT_RUNPATH on
platforms using lld as the linker.
Diffstat (limited to 'regress/libexec/ld.so')
-rw-r--r-- | regress/libexec/ld.so/dlopen/prog3/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/libexec/ld.so/dlopen/prog3/Makefile b/regress/libexec/ld.so/dlopen/prog3/Makefile index 277dfaa90a5..e294d7d5869 100644 --- a/regress/libexec/ld.so/dlopen/prog3/Makefile +++ b/regress/libexec/ld.so/dlopen/prog3/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2015/06/15 01:10:19 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 2017/03/18 16:45:32 kettenis Exp $ .include <bsd.obj.mk> @@ -26,6 +26,7 @@ LDADD= #LDADD+=-laa #LDADD+=-lac LDFLAGS=-L$(AA_OBJDIR) -L$(AC_OBJDIR) +LDFLAGS+= -Wl,-disable-new-dtags LDFLAGS+= -Wl,-rpath,$(AA_OBJDIR) -Wl,-rpath,$(AC_OBJDIR) NOMAN= CC=c++ |