Tell gas how to make PIC objects on sparc64.

This commit is contained in:
eeh 2000-07-17 16:49:30 +00:00
parent 94f61a8c1e
commit 04de183b83
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.lib.mk,v 1.173 2000/07/14 19:53:04 christos Exp $
# $NetBSD: bsd.lib.mk,v 1.174 2000/07/17 16:49:30 eeh Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.if !target(__initialized__)
@ -123,6 +123,13 @@ CPPPICFLAGS?= -DPIC
CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
APICFLAGS ?= -KPIC
.elif ${MACHINE_ARCH} == "sparc64" && ${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)