Powerpc does not support pic, and for now because of a compiler bug,
authorrahnds <rahnds@openbsd.org>
Tue, 18 Feb 1997 15:52:36 +0000 (15:52 +0000)
committerrahnds <rahnds@openbsd.org>
Tue, 18 Feb 1997 15:52:36 +0000 (15:52 +0000)
does not support profiling.

share/mk/bsd.own.mk

index 2bf5fa2..07bde28 100644 (file)
@@ -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=