aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-12-31 03:27:16 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-12-31 03:35:30 +0100
commit9d7400647007044b5248f281477145a926c9b217 (patch)
treeece5d6e3285403f6e04ee94abb9d14eeac398e14 /patches
parentgkbuilds/thin-provisioning-tools: minor fixes (diff)
downloadgenkernel-9d7400647007044b5248f281477145a926c9b217.tar.gz
genkernel-9d7400647007044b5248f281477145a926c9b217.tar.bz2
genkernel-9d7400647007044b5248f281477145a926c9b217.zip
patches/thin-provisioning-tools: update build fixes
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'patches')
-rw-r--r--patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.7.0-build-fixes.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.7.0-build-fixes.patch b/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.7.0-build-fixes.patch
index df0831f1..95f49fb3 100644
--- a/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.7.0-build-fixes.patch
+++ b/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.7.0-build-fixes.patch
@@ -12,6 +12,15 @@
ifeq ("@DEVTOOLS@", "yes")
CXXFLAGS+=-DDEV_TOOLS
+@@ -346,7 +348,7 @@ LIBFT_OBJECTS=$(subst .c,.o,$(LIBFT_SOURCE))
+
+ lib/libft.so: $(LIBFT_OBJECTS)
+ @echo " [LD]" $@
+- $(V) gcc -shared -o $@ $+ -laio
++ $(V) $(CC) -shared -o $@ $+ -laio
+
+ .PHONEY: functional-test unit-test
+
--- thin-provisioning-tools-0.7.0/unit-tests/Makefile.in
+++ thin-provisioning-tools-0.7.0/unit-tests/Makefile.in
@@ -25,7 +25,7 @@