File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,10 @@ desirable for building Dash Core release binaries."
166166 base-gcc))
167167
168168(define (make-gcc-with-pthreads gcc )
169- (package-with-extra-configure-variable gcc " --enable-threads" " posix" ))
169+ (package-with-extra-configure-variable
170+ (package-with-extra-patches gcc
171+ (search-our-patches " gcc-10-remap-guix-store.patch" ))
172+ " --enable-threads" " posix" ))
170173
171174(define (make-mingw-w64-cross-gcc cross-gcc )
172175 (package-with-extra-patches cross-gcc
Original file line number Diff line number Diff line change 1+ From aad25427e74f387412e8bc9a9d7bbc6c496c792f Mon Sep 17 00:00:00 2001
2+ From: Andrew Chow <achow101-github@achow101.com>
3+ Date: Wed, 6 Jul 2022 16:49:41 -0400
4+ Subject: [PATCH] guix: remap guix store paths to /usr
5+
6+ ---
7+ libgcc/Makefile.in | 2 +-
8+ 1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+ diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
11+ index 851e7657d07..476c2becd1c 100644
12+ --- a/libgcc/Makefile.in
13+ +++ b/libgcc/Makefile.in
14+ @@ -854,7 +854,7 @@ endif
15+ # libgcc_eh.a, only LIB2ADDEH matters. If we do, only LIB2ADDEHSTATIC and
16+ # LIB2ADDEHSHARED matter. (Usually all three are identical.)
17+
18+ - c_flags := -fexceptions
19+ + c_flags := -fexceptions $(shell find /gnu/store -maxdepth 1 -mindepth 1 -type d -exec echo -n " -ffile-prefix-map={}=/usr" \;)
20+
21+ ifeq ($(enable_shared),yes)
22+
23+ - -
24+ 2.37.0
25+
You can’t perform that action at this time.
0 commit comments