summaryrefslogtreecommitdiffstats
path: root/debian/patches/pr104290-followup.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/pr104290-followup.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 '')
-rw-r--r--debian/patches/pr104290-followup.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/pr104290-followup.diff b/debian/patches/pr104290-followup.diff
new file mode 100644
index 0000000..abc8468
--- /dev/null
+++ b/debian/patches/pr104290-followup.diff
@@ -0,0 +1,14 @@
+# DP: Follow-up patch for PR go/104290 (Hurd)
+
+--- a/src/gcc/config/gnu.h 2022-02-06 11:59:41.000000000 +0100
++++ b/src/gcc/config/gnu.h 2022-02-06 12:00:19.000000000 +0100
+@@ -19,6 +19,9 @@
+ along with GCC. If not, see <http://www.gnu.org/licenses/>.
+ */
+
++#define OPTION_GLIBC_P(opts) (DEFAULT_LIBC == LIBC_GLIBC)
++#define OPTION_GLIBC OPTION_GLIBC_P (&global_options)
++
+ #undef GNU_USER_TARGET_OS_CPP_BUILTINS
+ #define GNU_USER_TARGET_OS_CPP_BUILTINS() \
+ do { \