gcc9: ignore build warnings 91/221191/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.105854 accepted/tizen/6.0/unified/hotfix/20201102.234049 accepted/tizen/6.0/unified/hotfix/20201103.050227 accepted/tizen/unified/20200102.220757 submit/tizen/20200102.041419 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 tizen_6.0.m2_release
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 30 Dec 2019 05:01:11 +0000 (14:01 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 30 Dec 2019 05:01:16 +0000 (14:01 +0900)
iptables is OPENP package.
So, This change adds exception options to CFLAGS.

Change-Id: Ie73e24c0c52fbc19fb900c57954c1300ca8c7f46

packaging/iptables.spec

index edd3d30..982e24c 100755 (executable)
@@ -33,7 +33,7 @@ stable and may change with every new version. It is therefore unsupported.
 
 
 %build
-export CFLAGS+=" $RPM_OPT_FLAGS -Wall -Werror -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -pie -fno-strict-aliasing -Wno-unused-value -fPIC"
+export CFLAGS+=" $RPM_OPT_FLAGS -Wall -Werror -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -pie -fno-strict-aliasing -Wno-unused-value -Wno-stringop-truncation -Wno-format-truncation -fPIC"
 export LDFLAGS+=" -Wl,-z,relro,--as-needed"
 
 %autogen.sh