=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/share/mk/bsd.own.mk,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/share/mk/bsd.own.mk 1996/11/24 02:47:41 1.13 +++ src/share/mk/bsd.own.mk 1997/02/18 15:52:36 1.14 @@ -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,9 +73,15 @@ # 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.