From: rahnds Date: Tue, 18 Feb 1997 15:52:36 +0000 (+0000) Subject: Powerpc does not support pic, and for now because of a compiler bug, X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=43e10c3ff0c8de0713dc46e4b24f5b605484ba5c;p=openbsd Powerpc does not support pic, and for now because of a compiler bug, does not support profiling. --- 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=