projects
/
platform
/
core
/
security
/
cynara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc41a9
)
Fix build on new compiler
author
Slava Barinov
<v.barinov@samsung.com>
Wed, 23 Aug 2023 10:37:30 +0000
(13:37 +0300)
committer
Slava Barinov
<v.barinov@samsung.com>
Wed, 23 Aug 2023 10:37:30 +0000
(13:37 +0300)
Change-Id: I20bc493cf028c1e179f8742b5dc35b704022e07c
packaging/libcynara-commons.spec
patch
|
blob
|
history
diff --git
a/packaging/libcynara-commons.spec
b/packaging/libcynara-commons.spec
index cfa4f31b0e3c01150e908bcdb9b9decd015ccd39..1c07dd97643b6d7e3fe4eb411776e0ee0cf3a9b8 100644
(file)
--- a/
packaging/libcynara-commons.spec
+++ b/
packaging/libcynara-commons.spec
@@
-193,6
+193,9
@@
export CXXFLAGS+=" -Wp,-U_FORTIFY_SOURCE"
export LDFLAGS+="-Wl,--rpath=%{_libdir}"
+# Prevent test errors on new compiler
+export CXXFLAGS+=" -Wno-error=uninitialized"
+
%cmake . \
-DBUILD_TESTS=ON \
-DBUILD_COMMONS=ON \