diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-15 10:39:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-15 10:39:51 +0100 |
commit | 9b6120d8af003bb775da6737dfe42f8f580f59f6 (patch) | |
tree | 965a7890c4893d608fd8d3ce04030376ab565a45 /sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.9.0-build-fixes.patch | |
parent | 80765b090d10ae3f68b00e3befe5859f7212e536 (diff) |
gentoo auto-resync : 15:07:2023 - 10:39:50
Diffstat (limited to 'sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.9.0-build-fixes.patch')
-rw-r--r-- | sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.9.0-build-fixes.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.9.0-build-fixes.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.9.0-build-fixes.patch new file mode 100644 index 000000000000..da2a10e0afbf --- /dev/null +++ b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.9.0-build-fixes.patch @@ -0,0 +1,25 @@ +From f912f6630eada34dcfb1320bb46b02d149c32ad4 Mon Sep 17 00:00:00 2001 +From: Gwendal Grignou <gwendal@chromium.org> +Date: Wed, 28 Jun 2023 16:08:41 -0700 +Subject: [PATCH] [base] Never use gcc directly + +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index b1fd4aa..342daf7 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -363,7 +363,7 @@ LIBFT_OBJECTS=$(subst .c,.o,$(LIBFT_SOURCE)) + + lib/libft.so: $(LIBFT_OBJECTS) + @echo " [LD]" $@ +- $(V) gcc -shared -o $@ $+ -laio ++ $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o $@ $+ -laio + + .PHONEY: functional-test unit-test + +-- +2.41.0.255.g8b1d071c50-goog + |