Skip to content

Commit 4ebb1bb

Browse files
committed
fix sun2 with SSP
1 parent b52ade8 commit 4ebb1bb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

external/gpl3/gcc.old/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.17 2025/11/14 00:03:55 mrg Exp $
1+
# $NetBSD: Makefile,v 1.18 2026/02/12 15:01:21 christos Exp $
22

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

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

0 commit comments

Comments
 (0)