[Tizen 6.0] Silence build warnings for GCC 9.2 build 79/221779/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200108.120643 accepted/tizen/5.5/unified/wearable/hotfix/20201027.123250 submit/tizen_5.5/20200107.102524 submit/tizen_5.5_wearable_hotfix/20201026.184301
authorDongkyun Son <dongkyun.s@samsung.com>
Tue, 31 Dec 2019 04:37:42 +0000 (13:37 +0900)
committerManish Rathod <manish.r@samsung.com>
Tue, 7 Jan 2020 10:21:31 +0000 (10:21 +0000)
Change-Id: Ia451285bc8753189cbf2b62e06446676f342d630
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/vmodemd-emul.spec

index 32456c5..94254fb 100644 (file)
@@ -19,8 +19,9 @@ Virtual modem for emulator
 %setup -q
 
 %build
+CFLAGS+=" -Wno-stringop-overflow -Wno-stringop-truncation -Wno-format-overflow -Wno-switch-unreachable"
 autoconf
-%configure
+%configure CFLAGS="$CFLAGS"
 
 make %{?jobs:-j%jobs}