summaryrefslogtreecommitdiffstats
path: root/debian/patches/rust-enabled.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/rust-enabled.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/rust-enabled.diff')
-rw-r--r--debian/patches/rust-enabled.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/rust-enabled.diff b/debian/patches/rust-enabled.diff
new file mode 100644
index 0000000..d0972fa
--- /dev/null
+++ b/debian/patches/rust-enabled.diff
@@ -0,0 +1,23 @@
+# DP: Explicitely enable rust, too late to be removed from 23.04
+
+--- a/src/configure.ac
++++ b/src/configure.ac
+@@ -2150,18 +2150,6 @@ if test -d ${srcdir}/gcc; then
+ ;;
+ esac
+
+- # Disable Rust for GCC 13 release.
+- case ${add_this_lang}:${language} in
+- yes:rust)
+- # Specifically requested language; tell them.
+- AC_MSG_ERROR([Rust is not supported in GCC 13 release])
+- ;;
+- *:rust)
+- # Silently disable.
+- add_this_lang=unsupported
+- ;;
+- esac
+-
+ # Disable jit if -enable-host-shared not specified
+ # but not if building for Mingw. All code in Windows
+ # is position independent code (PIC).