Added a temporary workaround when building libraries for hppa:
link in libgcc to get the millicode routines.
This commit is contained in:
parent
3763adaefd
commit
9c5d82c38e
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.lib.mk,v 1.203 2002/05/07 02:06:32 eeh Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.204 2002/07/01 19:29:31 fredette Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
@ -124,6 +124,17 @@ CPPPICFLAGS?= -DPIC -DBIGPIC
|
|||
CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
|
||||
APICFLAGS ?= -KPIC
|
||||
|
||||
.elif ${MACHINE_ARCH} == "hppa"
|
||||
|
||||
FPICFLAGS ?= -fPIC
|
||||
CPICFLAGS?= -fPIC -DPIC
|
||||
CPPPICFLAGS?= -DPIC
|
||||
CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
|
||||
APICFLAGS?= -k
|
||||
# XXX libraries often need the millicode functions in libgcc.a,
|
||||
# so we have to work around the -nostdlib:
|
||||
LDADD+= `$(CC) -print-libgcc-file-name`
|
||||
|
||||
.else
|
||||
|
||||
# Platform-independent flags for NetBSD a.out shared libraries
|
||||
|
|
Loading…
Reference in New Issue