Add sparc/elf bits.
This commit is contained in:
parent
40035ad56e
commit
7054064487
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue