unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 75f80ea9d2819b1589908e68d9a5e71593cfb5b5 1147 bytes (raw)
name: packages/patches/gcc-13-cross-system-header-dir.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
From 8b001f38cc713190642194b55e02a56346f51494 Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <jean@foundation.xyz>
Date: Fri, 12 Apr 2024 12:18:24 +0200
Subject: [PATCH] Fix CROSS_SYSTEM_HEADER_DIR value for Guix.

* gcc/Makefile.in (CROSS_SYSTEM_HEADER_DIR): Always use default value.
---
 gcc/Makefile.in | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 775aaa1b3c4..06d192fa9ed 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -532,11 +532,7 @@ LINKER_PLUGIN_API_H = $(srcdir)/../include/plugin-api.h
 # Default native SYSTEM_HEADER_DIR, to be overridden by targets.
 NATIVE_SYSTEM_HEADER_DIR = @NATIVE_SYSTEM_HEADER_DIR@
 # Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
-ifeq (@includedir@,$(prefix)/include)
-  CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
-else
-  CROSS_SYSTEM_HEADER_DIR = @includedir@
-endif
+CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
 
 # autoconf sets SYSTEM_HEADER_DIR to one of the above.
 # Purge it of unnecessary internal relative paths

base-commit: c891d8dc23e1a46ad9f3e757d09e57b500d40044
-- 
2.41.0


debug log:

solving 75f80ea9d2819b1589908e68d9a5e71593cfb5b5 ...
found 75f80ea9d2819b1589908e68d9a5e71593cfb5b5 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).