From: Dongkyun Son Date: Tue, 5 Nov 2024 06:03:07 +0000 (+0900) Subject: packaging: asan: skip Werror=maybe-uninitialized X-Git-Tag: accepted/tizen/unified/20250107.102048^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eee97efaee5925125a0dbf09b89b5cd62d8ffd67;p=platform%2Fcore%2Fuifw%2Fmmi-framework.git packaging: asan: skip Werror=maybe-uninitialized Change-Id: I8ccf7f16a3f137dc04108f3114eb1724538b8ba5 Signed-off-by: Dongkyun Son --- diff --git a/packaging/mmi.spec b/packaging/mmi.spec index 01d3649..807ebf5 100644 --- a/packaging/mmi.spec +++ b/packaging/mmi.spec @@ -90,6 +90,9 @@ CXXFLAGS=$(echo $CXXFLAGS | sed 's/-O[1-3]/-Og/') CFLAGS=$(echo $CFLAGS | sed 's/-D_FORTIFY_SOURCE=[1-9]/-D_FORTIFY_SOURCE=0/g') CXXFLAGS=$(echo $CXXFLAGS | sed 's/-D_FORTIFY_SOURCE=[1-9]/-D_FORTIFY_SOURCE=0/g') %endif +%if 0%{?asan:1} +export CXXFLAGS+=" -Wno-maybe-uninitialized" +%endif meson setup --prefix=/usr \ --bindir %{_bindir} \