summaryrefslogtreecommitdiffstats
path: root/debian/patches/pr66368.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:22:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:22:56 +0000
commit3f472a4e5ca21e3ddb13737473e636b2b11a408a (patch)
tree7db1ab317884b9f6e04b6e13737c1679879cb97a /debian/patches/pr66368.diff
parentAdding upstream version 13.2.0. (diff)
downloadgcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.tar.xz
gcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.zip
Adding debian version 13.2.0-10.debian/13.2.0-10debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/pr66368.diff')
-rw-r--r--debian/patches/pr66368.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/pr66368.diff b/debian/patches/pr66368.diff
new file mode 100644
index 0000000..c06133c
--- /dev/null
+++ b/debian/patches/pr66368.diff
@@ -0,0 +1,22 @@
+# DP: PR go/66368, build libgo with -fno-stack-protector
+
+--- a/src/libgo/Makefile.am
++++ b/src/libgo/Makefile.am
+@@ -47,6 +47,7 @@ AM_CPPFLAGS = -I $(srcdir)/runtime $(LIB
+ ACLOCAL_AMFLAGS = -I ./config -I ../config
+
+ AM_CFLAGS = -fexceptions -fnon-call-exceptions \
++ -fno-stack-protector \
+ $(SPLIT_STACK) $(WARN_CFLAGS) \
+ $(STRINGOPS_FLAG) $(HWCAP_CFLAGS) $(OSCFLAGS) \
+ -I $(srcdir)/../libgcc -I $(srcdir)/../libbacktrace \
+--- a/src/libgo/Makefile.in
++++ b/src/libgo/Makefile.in
+@@ -563,6 +563,7 @@ WARN_CFLAGS = $(WARN_FLAGS) $(WERROR)
+ AM_CPPFLAGS = -I $(srcdir)/runtime $(LIBFFIINCS) $(PTHREAD_CFLAGS)
+ ACLOCAL_AMFLAGS = -I ./config -I ../config
+ AM_CFLAGS = -fexceptions -fnon-call-exceptions \
++ -fno-stack-protector \
+ $(SPLIT_STACK) $(WARN_CFLAGS) \
+ $(STRINGOPS_FLAG) $(HWCAP_CFLAGS) $(OSCFLAGS) \
+ -I $(srcdir)/../libgcc -I $(srcdir)/../libbacktrace \