diff options
-rw-r--r-- | packaging/csr-framework.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/csr-framework.spec b/packaging/csr-framework.spec index 4e78bee..2b85ce5 100644 --- a/packaging/csr-framework.spec +++ b/packaging/csr-framework.spec @@ -137,6 +137,10 @@ Content Screening and Reputation framework (test program) %define test_target target %endif +%{?asan: +export CXXFLAGS+=" -Wno-maybe-uninitialized" +} + %cmake . \ -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}%{!?build_type:RELEASE} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ |