=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/share/mk/bsd.own.mk,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- src/share/mk/bsd.own.mk 2004/01/28 02:28:14 1.72 +++ src/share/mk/bsd.own.mk 2004/02/01 06:02:13 1.73 @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.own.mk,v 1.72 2004/01/28 02:28:14 mickey Exp $ +# $OpenBSD: bsd.own.mk,v 1.73 2004/02/01 06:02:13 drahn Exp $ # $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $ # Host-specific overrides @@ -28,17 +28,18 @@ # Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols DEBUGLIBS?= no # Set toolchain to be able to know differences. -.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \ - ${MACHINE_ARCH} == "hppa" || ${MACHINE_ARCH} == "sparc64" || \ - ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "i386" || \ - ${MACHINE_ARCH} == "x86_64") +.if ( ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "arm" || \ + ${MACHINE_ARCH} == "hppa" || ${MACHINE_ARCH} == "i386" || \ + ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc" || \ + ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64") ELF_TOOLCHAIN?= yes .else ELF_TOOLCHAIN?= no .endif # do the dew -.if (${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "hppa64") +.if (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "hppa64" || \ + ${MACHINE_ARCH} == "x86_64") USE_GCC3?=yes .else USE_GCC3?=no @@ -117,7 +118,8 @@ # don't try to generate PIC versions of libraries on machines # which don't support PIC. .if (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "x86_64") || \ - (${MACHINE_ARCH} == "hppa") || (${MACHINE_ARCH} == "m88k") + (${MACHINE_ARCH} == "hppa") || (${MACHINE_ARCH} == "m88k") \ + || (${MACHINE_ARCH} == "arm") NOPIC= .endif