Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 721500
Collapse All | Expand All

(-)a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.9.0-build-fixes.patch (+25 lines)
Line 0 Link Here
1
From f912f6630eada34dcfb1320bb46b02d149c32ad4 Mon Sep 17 00:00:00 2001
2
From: Gwendal Grignou <gwendal@chromium.org>
3
Date: Wed, 28 Jun 2023 16:08:41 -0700
4
Subject: [PATCH] [base] Never use gcc directly
5
6
---
7
 Makefile.in | 2 +-
8
 1 file changed, 1 insertion(+), 1 deletion(-)
9
10
diff --git a/Makefile.in b/Makefile.in
11
index b1fd4aa..342daf7 100644
12
--- a/Makefile.in
13
+++ b/Makefile.in
14
@@ -363,7 +363,7 @@ LIBFT_OBJECTS=$(subst .c,.o,$(LIBFT_SOURCE))
15
 
16
 lib/libft.so: $(LIBFT_OBJECTS)
17
 	@echo "    [LD]" $@
18
-	$(V) gcc -shared -o $@ $+ -laio
19
+	$(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o $@ $+ -laio
20
 
21
 .PHONEY: functional-test unit-test
22
 
23
-- 
24
2.41.0.255.g8b1d071c50-goog
25
(-)a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.9.0-r1.ebuild (-1 / +1 lines)
Lines 33-38 DEPEND="${RDEPEND} Link Here
33
33
34
PATCHES=(
34
PATCHES=(
35
	"${FILESDIR}"/${PN}-0.7.0-build-fixes.patch
35
	"${FILESDIR}"/${PN}-0.7.0-build-fixes.patch
36
	"${FILESDIR}"/${PN}-0.9.0-build-fixes.patch
36
	"${FILESDIR}"/0.9.0-remove-boost_iostreams.patch
37
	"${FILESDIR}"/0.9.0-remove-boost_iostreams.patch
37
)
38
)
38
39
39
- 

Return to bug 721500