summaryrefslogtreecommitdiff
path: root/share/mk/bsd.own.mk
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-18 15:52:37 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-02-18 15:52:37 +0000
commit186d413f4b7de9a959a5b052ac00c2fab9e948b8 (patch)
treea157ce5bf5db4197f54ad5975b6ac3402182d985 /share/mk/bsd.own.mk
parent1e9c3ee3c1f282b90651e0bd89c9b0a2bcd31e88 (diff)
Powerpc does not support pic, and for now because of a compiler bug,
does not support profiling.
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r--share/mk/bsd.own.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 2bf5fa21008..07bde2860a5 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.13 1996/11/24 02:47:41 niklas Exp $
+# $OpenBSD: bsd.own.mk,v 1.14 1997/02/18 15:52:36 rahnds Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
.if defined(MAKECONF) && exists(${MAKECONF})
@@ -73,10 +73,16 @@ STATIC?= -static
# don't try to generate PIC versions of libraries on machines
# which don't support PIC.
-.if (${MACHINE_ARCH} == "alpha") || \
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "vax")
NOPIC=
.endif
+# don't try to generate PROFILED versions of libraries on machines
+# which don't support profiling.
+.if (${MACHINE_ARCH} == "powerpc")
+NOPROFILE=
+.endif
+
# No lint, for now.
NOLINT=