Add sparc/elf bits.

This commit is contained in:
christos 1999-02-14 19:12:09 +00:00
parent 40035ad56e
commit 7054064487
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.lib.mk,v 1.149 1999/02/12 12:38:45 lukem Exp $
# $NetBSD: bsd.lib.mk,v 1.150 1999/02/14 19:12:09 christos Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.if !target(__initialized__)
@ -79,6 +79,13 @@ COPTS+= -fPIC ${AINC}
AFLAGS+= -fPIC
AS+= -KPIC
.elif ${MACHINE_ARCH} == "sparc" && ${OBJECT_FMT} == "ELF"
CPICFLAGS ?= -fpic -DPIC
CPPPICFLAGS?= -DPIC
CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
APICFLAGS ?= -KPIC
.else
# Platform-independent flags for NetBSD a.out shared libraries (and PowerPC)