Fix build error 92/262392/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.225816 accepted/tizen/7.0/unified/20221110.060124 accepted/tizen/7.0/unified/hotfix/20221116.111257 accepted/tizen/unified/20210810.135304 accepted/tizen/unified/20210810.135305 submit/tizen/20210810.004848 submit/tizen/20210810.060318 submit/tizen_6.5/20211028.163601 tizen_6.5.m2_release tizen_7.0_m2_release
authorMinje Ahn <minje.ahn@samsung.com>
Mon, 9 Aug 2021 23:31:44 +0000 (08:31 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Mon, 9 Aug 2021 23:31:44 +0000 (08:31 +0900)
Change-Id: I91ae2a2010db19e9f93e18fd02a5076425e0c6fd
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
packaging/podofo.spec

index 9be5748..a8ef5c3 100755 (executable)
@@ -30,6 +30,7 @@ A PDF parsing, modification and creation library.
 
 %build
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+export CXXFLAGS+=" -Wno-shadow -Wno-stringop-truncation -Wno-format-truncation -Wno-deprecated-copy -Wno-ignored-qualifiers -Wno-clobbered -Werror"
 %cmake . -DPODOFO_BUILD_SHARED=TRUE -DPODOFO_BUILD_LIB_ONLY=TRUE
 
 make %{?jobs:-j%jobs}