aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/xfsprogs/patches/100-no-selftest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/xfsprogs/patches/100-no-selftest.patch')
-rw-r--r--package/utils/xfsprogs/patches/100-no-selftest.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/utils/xfsprogs/patches/100-no-selftest.patch b/package/utils/xfsprogs/patches/100-no-selftest.patch
new file mode 100644
index 0000000000..2270166753
--- /dev/null
+++ b/package/utils/xfsprogs/patches/100-no-selftest.patch
@@ -0,0 +1,14 @@
+--- a/libxfs/Makefile
++++ b/libxfs/Makefile
+@@ -118,9 +118,9 @@ LTLIBS = $(LIBPTHREAD) $(LIBRT)
+ # don't try linking xfs_repair with a debug libxfs.
+ DEBUG = -DNDEBUG
+
+-LDIRT = gen_crc32table crc32table.h crc32selftest
++LDIRT = gen_crc32table crc32table.h
+
+-default: crc32selftest ltdepend $(LTLIBRARY)
++default: ltdepend $(LTLIBRARY)
+
+ crc32table.h: gen_crc32table.c
+ @echo " [CC] gen_crc32table"