Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/lib/csu/initfini only run this if (${OBJECT_FMT} == ...



details:   https://anonhg.NetBSD.org/src/rev/e7ef1a02d4b3
branches:  trunk
changeset: 513629:e7ef1a02d4b3
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Aug 06 02:25:57 2001 +0000

description:
only run this if (${OBJECT_FMT} == "ELF")

diffstat:

 regress/lib/csu/initfini/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c52943f01d2f -r e7ef1a02d4b3 regress/lib/csu/initfini/Makefile
--- a/regress/lib/csu/initfini/Makefile Sun Aug 05 23:39:59 2001 +0000
+++ b/regress/lib/csu/initfini/Makefile Mon Aug 06 02:25:57 2001 +0000
@@ -1,9 +1,11 @@
-#      $NetBSD: Makefile,v 1.3 2001/07/17 15:24:27 simonb Exp $
+#      $NetBSD: Makefile,v 1.4 2001/08/06 02:25:57 lukem Exp $
 
 .include <bsd.own.mk>
 
 MKMAN=no
 
+.if (${OBJECT_FMT} == "ELF")
+
 .if exists(arch/${MACHINE_CPU}/initfini_asm.S)
 PROG=  initfini
 SRCS=  initfini.c initfini_asm.S
@@ -26,4 +28,6 @@
        @echo "FAILED -- asm stub not written for ${MACHINE_CPU}"
 .endif
 
+.endif
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index