[packages/libredwg] - disable building llvmfuzz (test-only executable, the only one requiring sanitizer libraries)

qboosh qboosh at pld-linux.org
Wed Apr 14 06:29:42 CEST 2021


commit 610080b3cc857e72f5207d53d0be938411aafe3c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 14 06:29:34 2021 +0200

    - disable building llvmfuzz (test-only executable, the only one requiring sanitizer libraries)

 libredwg.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/libredwg.spec b/libredwg.spec
index dc47bee..c5565c3 100644
--- a/libredwg.spec
+++ b/libredwg.spec
@@ -103,6 +103,9 @@ Interfejs Pythona do biblioteki LibreDWG.
 # no git-version-gen in release tarball
 %{__sed} -i -e 's/m4_esyscmd.*git-version-gen.*/[%{version}],/' configure.ac
 
+# disable when not running tests
+%{__sed} -i -e '/^check_PROGRAMS/ s/ llvmfuzz_standalone//' examples/Makefile.am
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libredwg.git/commitdiff/610080b3cc857e72f5207d53d0be938411aafe3c



More information about the pld-cvs-commit mailing list