From 7f165742715d173c261472dd3215208451425c76 Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Aug 28 2023 21:20:35 +0000 Subject: Undefine _auto_set_build_flags This allows conditional cmake builds for tests and tools to complete in the absence of build and link flags getting in the way, without losing them for the main %cmake build where the same flags are exported anyway. This is still not enough to pass the test suite. --- diff --git a/kcov.spec b/kcov.spec index 013d12a..bf73743 100644 --- a/kcov.spec +++ b/kcov.spec @@ -1,3 +1,5 @@ +%undefine _auto_set_build_flags + %bcond_with tests %bcond_with tools