diff options
author | jlam <jlam> | 2001-10-25 16:45:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-25 16:45:03 +0000 |
commit | 1fe4db2dd2c5e3b9cf3e12d140110e4733a61078 (patch) | |
tree | dceca880ebfcf04ffd4c7455c39849d6ab0e70d9 /mk | |
parent | 5319fdf3a710de0715b458f7fbacad39cb86ef76 (diff) | |
download | pkgsrc-1fe4db2dd2c5e3b9cf3e12d140110e4733a61078.tar.gz |
Make it easier to debug for the a.out case on an ELF machine.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.buildlink.mk | 4 |
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} |