Ensure that we pass -z initfirst to the linker. The mips gcc
was unhappy about the missing -Wl specification.
This commit is contained in:
parent
a231613bc3
commit
c26a54ba24
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.133 2007/12/07 20:34:04 ad Exp $
|
||||
# $NetBSD: Makefile,v 1.134 2007/12/08 18:34:51 he Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||
#
|
||||
# All library objects contain sccsid strings by default; they may be
|
||||
@ -112,5 +112,5 @@ CSHLIBFLAGS+= -D_I18N_DYNAMIC
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# force the dynamic linker to initialize libc first
|
||||
SHLIB_SHFLAGS+= -z initfirst
|
||||
SHLIB_SHFLAGS+= -Wl,-z,initfirst
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user