diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-27 18:09:27 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-27 18:09:27 +0000 |
commit | 54fed91c5c2a712e95e1cd420ef821213ea00f3f (patch) | |
tree | 523a58b950ec3edf261ea5c85fa2a7de88898bf1 /share/mk | |
parent | 958e20d555079bc926af947cb70723c8a44b65b3 (diff) |
Add ELF_TOOLCHAIN makefile variable to be used to deal
with build differences between ELF and a.out.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.own.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 0b85bb7c42c..d8539face36 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.own.mk,v 1.49 2001/06/27 06:16:48 art Exp $ +# $OpenBSD: bsd.own.mk,v 1.50 2001/06/27 18:09:26 drahn Exp $ # $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $ # Host-specific overrides @@ -27,6 +27,12 @@ AFS?= yes .endif # Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols DEBUGLIBS?= no +# Set toolchain for libdl and other "differences" +.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc") +ELF_TOOLCHAIN?= yes +.else +ELF_TOOLCHAIN?= no +.endif # where the system object and source trees are kept; can be configurable # by the user in case they want them in ~/foosrc and ~/fooobj, for example |