Skip to content

Commit 473e47c

Browse files
committed
fix SSP build for sun2
1 parent 4ebb1bb commit 473e47c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • external/gpl3/gcc/lib/libstdc++-v3

external/gpl3/gcc/lib/libstdc++-v3/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.66 2025/11/06 00:57:05 christos Exp $
1+
# $NetBSD: Makefile,v 1.67 2026/02/12 15:17:30 christos Exp $
22

33
REQUIRETOOLS= yes
44
NOLINT= # defined
@@ -135,6 +135,10 @@ COPTS.random.cc += -Wno-error=psabi
135135
COPTS.cow-string-inst.cc += -Wno-error=psabi
136136
.endif
137137

138+
.if ${MACHINE} == "sun2"
139+
COPTS.std_stacktrace-cp-demangle.c += -Wno-stack-protector
140+
.endif
141+
138142
# XXX
139143
MKDEPFLAGS+= -I$(GLIBCPP_INCLUDE_DIR)/backward
140144

0 commit comments

Comments
 (0)