Suppress all build warnings
authorHoyub Lee <hoyub.lee@samsung.com>
Wed, 11 Oct 2017 10:21:08 +0000 (19:21 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 11 Oct 2017 23:20:09 +0000 (08:20 +0900)
As this is not-modified opensource package, we don't need to fix build warnings.
Therefore, suppress all build warnings by adding '-w' flag.

Change-Id: I79ed43d8397fa21c59046286749b9bca15f50329
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
packaging/libpciaccess.spec

index a40a19d..4578ca4 100644 (file)
@@ -41,6 +41,7 @@ cp %{SOURCE1001} .
 %build
 NOCONFIGURE=1
 %autogen
+export CFLAGS="$CFLAGS -w"
 %configure --disable-static \
            --with-pciids-path=%{_datadir}/misc --with-zlib
 make %{?_smp_mflags}