diff options
author | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2015-02-08 00:15:23 +0000 |
---|---|---|
committer | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2015-02-08 00:15:23 +0000 |
commit | 50bd1dd5ac254d9149ead693ebb2d7894cf31a45 (patch) | |
tree | 03d86b0a34a83bf55649e68c91d2569a38c5ec27 /libexec/ld.so | |
parent | 515427bb6debe1510e814d7777675bca127d4558 (diff) |
Fix cross-build. OK jsing@ miod@ guenther@ deraadt@
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index 4de73430eb6..223e2e62e9d 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.54 2014/12/22 19:14:59 deraadt Exp $ +# $OpenBSD: Makefile,v 1.55 2015/02/08 00:15:22 uebayasi Exp $ SUBDIR=ldconfig ldd MAN= ld.so.1 @@ -47,7 +47,9 @@ $(test_prog): $(PROG): $(test_prog) $(LD) -x -e _dl_start $(ELF_LDFLAGS) -o $(candidate) $(OBJS) $(LDADD) +.ifndef CROSSDIR ulimit -c 0; [ "`${.OBJDIR}/$(test_prog) ok`" = ok ] +.endif cp $(candidate) $@ .endif |