packaging: asan: skip Werror=maybe-uninitialized 90/317090/1 accepted/tizen_unified_x_asan accepted/tizen/unified/20250107.102048 accepted/tizen/unified/x/20250107.210558 accepted/tizen/unified/x/asan/20250113.002224
authorDongkyun Son <dongkyun.s@samsung.com>
Tue, 5 Nov 2024 06:03:07 +0000 (15:03 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Tue, 24 Dec 2024 05:42:11 +0000 (14:42 +0900)
Change-Id: I8ccf7f16a3f137dc04108f3114eb1724538b8ba5
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/mmi.spec

index 01d36498eb91d28b423ad18ac43b13c7b5f8fcfa..807ebf5c3055c5c37c2b6805d4d92fda6384e6f2 100644 (file)
@@ -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} \