diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-05-26 20:15:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-05-26 20:15:55 +0000 |
commit | d1fbc4d1dcb9f1de98f2d5eadc9ed98e3c517221 (patch) | |
tree | 17a061f212c2cba532cee2428523b475c14109b0 /libexec/ld.so/Makefile | |
parent | 4d39521a4ebe49ca352006c6bc28d1ed167f1daa (diff) |
Better cross-compilation check
Diffstat (limited to 'libexec/ld.so/Makefile')
-rw-r--r-- | libexec/ld.so/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index 223e2e62e9d..08da3161519 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.55 2015/02/08 00:15:22 uebayasi Exp $ +# $OpenBSD: Makefile,v 1.56 2015/05/26 20:15:54 miod Exp $ SUBDIR=ldconfig ldd MAN= ld.so.1 @@ -47,7 +47,7 @@ $(test_prog): $(PROG): $(test_prog) $(LD) -x -e _dl_start $(ELF_LDFLAGS) -o $(candidate) $(OBJS) $(LDADD) -.ifndef CROSSDIR +.ifndef HOSTCC ulimit -c 0; [ "`${.OBJDIR}/$(test_prog) ok`" = ok ] .endif cp $(candidate) $@ |