diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-07-25 18:19:07 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-07-25 18:19:07 +0000 |
commit | d6f21393b10e5d83e6138b4082c3e84c6cd5aeda (patch) | |
tree | 9fda3b76ef06f80b9ac179f41b9fdc471b4657ee | |
parent | 4236d404a1c5aa0c4921341a03961002ab44ac05 (diff) |
ELF_TOOLCHAIN except hppa for crtbegin and crtend.
-rw-r--r-- | share/mk/bsd.prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 10ebf44f03e..287e88ea8eb 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.prog.mk,v 1.32 2002/06/25 15:33:18 millert Exp $ +# $OpenBSD: bsd.prog.mk,v 1.33 2002/07/25 18:19:06 art Exp $ # $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $ # @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 @@ -17,7 +17,7 @@ CXXFLAGS+= ${CXXDIAGFLAGS} CFLAGS+= ${COPTS} CXXFLAGS+= ${CXXOPTS} -.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") +.if (${ELF_TOOLCHAIN} == "yes") && (${MACHINE_ARCH} != "hppa") CRTBEGIN?= ${DESTDIR}/usr/lib/crtbegin.o CRTEND?= ${DESTDIR}/usr/lib/crtend.o .endif |