]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
jsoncpp: Disable building object failes
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Mar 2023 15:35:33 +0000 (15:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:16:11 +0000 (18:16 +0000)
We do not need those and they fail the hardening check.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
jsoncpp/jsoncpp.nm

index 5ff2f5c28e7c1e2f487cc7dc4cced73f97466f54..a983c3ccabd3bc4c17d04c9a3706e01a8b473d28 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = jsoncpp
 version    = 1.9.5
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = https://github.com/open-source-parsers/jsoncpp
@@ -30,7 +30,10 @@ build
        end
 
        build
-               %{cmake} ..
+               %{cmake} .. \
+                       -DBUILD_OBJECT_LIBS:BOOL=OFF \
+                       -DBUILD_STATIC_LIBS:BOOL=OFF
+
                make %{PARALLELISMFLAGS}
        end
 end