The arm32 architecture also needs to set NOPIC.

This commit is contained in:
mark 1997-01-13 00:54:23 +00:00
parent 151fa15841
commit ed0c7a8de5
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.README,v 1.17 1996/04/13 02:08:08 thorpej Exp $
# $NetBSD: bsd.README,v 1.18 1997/01/13 00:54:23 mark Exp $
# @(#)bsd.README 5.1 (Berkeley) 5/11/90
This is the README file for the new make "include" files for the BSD
@ -197,7 +197,7 @@ NOPROFILE Do not build profiled versions of system libraries
NOPIC Do not build PIC versions of system libraries, and
do not build shared libraries. [set if ${MACHINE_ARCH}
is "mips", "vax", or "alpha", unset otherwise.]
is "mips", "vax", "alpha" or "arm32", unset otherwise.]
NOLINT Do not build lint libraries. [set, set unconditionally]

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.26 1996/10/13 20:33:59 cgd Exp $
# $NetBSD: bsd.own.mk,v 1.27 1997/01/13 00:54:28 mark Exp $
.if defined(MAKECONF) && exists(${MAKECONF})
.include "${MAKECONF}"
@ -65,6 +65,7 @@ STRIP?= -s
# don't try to generate PIC versions of libraries on machines
# which don't support PIC.
.if (${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "vax") || \
(${MACHINE_ARCH} == "arm32") || \
((${MACHINE_ARCH} == "alpha") && !defined(ELF_TOOLCHAIN))
NOPIC=
.endif