From d6f21393b10e5d83e6138b4082c3e84c6cd5aeda Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Thu, 25 Jul 2002 18:19:07 +0000 Subject: ELF_TOOLCHAIN except hppa for crtbegin and crtend. --- share/mk/bsd.prog.mk | 4 ++-- 1 file 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 -- cgit v1.2.3