Don't strip local symbols for earmv7*eb images since that will break linking.
This commit is contained in:
parent
25a3e10fc1
commit
a49b15d8d8
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.lib.mk,v 1.342 2013/10/18 16:06:52 christos Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.343 2013/12/13 02:47:45 matt Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
@ -188,6 +188,9 @@ CTFFLAGS+= -g
|
|||
.endif
|
||||
.endif
|
||||
|
||||
.if empty(MACHINE_ARCH:Mearmv7*eb)
|
||||
# These will remove $a/$d/$t symbols needed for linking ARM BE8 images so
|
||||
# we can't strip them out.
|
||||
LIBSTRIPAOBJS= yes
|
||||
.if !defined(CFLAGS) || empty(CFLAGS:M*-g*)
|
||||
LIBSTRIPCOBJS= yes
|
||||
|
@ -201,6 +204,7 @@ LIBSTRIPFOBJS= yes
|
|||
.if !defined(CSHLIBFLAGS) || empty(CSHLIBFLAGS:M*-g*)
|
||||
LIBSTRIPSHLIBOBJS= yes
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.c.o:
|
||||
${_MKTARGET_COMPILE}
|
||||
|
|
Loading…
Reference in New Issue