Pull up following revision(s) (requested by mrg in ticket #843):

external/gpl3/gcc/lib/libsupc++/Makefile: revision 1.13

pull in atomicity.h (atomicity.cc) on sparc.  3 of the objects
use these interfaces and this avoids link errors

fixes PR#54660.
This commit is contained in:
martin 2020-04-22 18:25:10 +00:00
parent 9e17d42353
commit 8daf306b14
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2019/01/19 17:11:02 mrg Exp $
# $NetBSD: Makefile,v 1.12.2.1 2020/04/22 18:25:10 martin Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@ -25,6 +25,15 @@ SHLIB_MINOR= 0
SRCS= ${LIBSUPCXXSRCS} xmalloc.c
CXXFLAGS+= ${G_SECTION_FLAGS}
# XXX PR#54660
.if ${MACHINE} == "sparc"
SRCS+= atomicity.cc
DIST= ${GCCDIST}
GLIBCXX_SRCDIR= ${DIST}/libstdc++-v3
BUILDSYMLINKS+= \
${GLIBCXX_SRCDIR}/${G_ATOMICITY_SRCDIR}/atomicity.h atomicity.cc
.endif
COPTS.cp-demangle.c = -Wno-stack-protector -Wno-unused-function
.include "../Makefile.gthr"