summaryrefslogtreecommitdiff
path: root/mk/bsd.buildlink.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-25 16:45:03 +0000
committerjlam <jlam@pkgsrc.org>2001-10-25 16:45:03 +0000
commit1755ddaba98d453f34ff17354f6cd38d45b7fc15 (patch)
treedceca880ebfcf04ffd4c7455c39849d6ab0e70d9 /mk/bsd.buildlink.mk
parent5eb9a5c3405182702bdcbe9d5a4a37616f8737e7 (diff)
downloadpkgsrc-1755ddaba98d453f34ff17354f6cd38d45b7fc15.tar.gz
Make it easier to debug for the a.out case on an ELF machine.
Diffstat (limited to 'mk/bsd.buildlink.mk')
-rw-r--r--mk/bsd.buildlink.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk
index 54d8d1453e1..2a46c442927 100644
--- a/mk/bsd.buildlink.mk
+++ b/mk/bsd.buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink.mk,v 1.46 2001/10/24 19:46:45 jlam Exp $
+# $NetBSD: bsd.buildlink.mk,v 1.47 2001/10/25 16:45:03 jlam Exp $
#
# This Makefile fragment is included by package buildlink.mk files. This
# file does the following things:
@@ -241,7 +241,7 @@ MAKEFILE_PATTERNS+= Makefile
MAKEFILE_PATTERNS+= Makeconf
MAKEFILE_PATTERNS+= *.mk
-.if (${OBJECT_FMT} == "a.out")
+.if (${OBJECT_FMT} == "a.out") || defined(BUILDLINK_AOUT_DEBUG)
REPLACE_LIBNAME_PATTERNS+= ${MAKEFILE_PATTERNS}
_REPLACE_LIBNAME_PATTERNS_FIND= \
${REPLACE_LIBNAME_PATTERNS:S/$/!/:S/^/-o -name !/:S/!/"/g:S/-o//1}