diff options
Diffstat (limited to 'debian/patches/rust-enabled.diff')
-rw-r--r-- | debian/patches/rust-enabled.diff | 23 |
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). |