Look for libgcc.map in ${.OBJDIR}. Suggested by Luke.
Fixes PR 26515.
This commit is contained in:
parent
2950c906af
commit
e176d50dd4
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.7 2004/07/05 12:27:41 skrll Exp $
|
# $NetBSD: Makefile,v 1.8 2004/08/05 13:10:18 skrll Exp $
|
||||||
|
|
||||||
REQUIRETOOLS= yes
|
REQUIRETOOLS= yes
|
||||||
NOLINT= # defined
|
NOLINT= # defined
|
||||||
|
@ -21,7 +21,7 @@ SHLIB_MAJOR= 1
|
||||||
SHLIB_MINOR= 0
|
SHLIB_MINOR= 0
|
||||||
|
|
||||||
LDFLAGS+= -nodefaultlibs
|
LDFLAGS+= -nodefaultlibs
|
||||||
LDFLAGS+= -Wl,--version-script=libgcc.map
|
LDFLAGS+= -Wl,--version-script=${.OBJDIR}/libgcc.map
|
||||||
|
|
||||||
SRCS+= ${LIB2FUNCS} ${LIB2DIVMOD} ${LIB2_EH} \
|
SRCS+= ${LIB2FUNCS} ${LIB2DIVMOD} ${LIB2_EH} \
|
||||||
${G_LIB2ADD:T:S/.asm/.S/} ${LIB1ASMFUNCS}
|
${G_LIB2ADD:T:S/.asm/.S/} ${LIB1ASMFUNCS}
|
||||||
|
|
Loading…
Reference in New Issue