From 9e28f0eaf657a6ec2c4185c9ed96378240226a49 Mon Sep 17 00:00:00 2001 From: Hoyub Lee Date: Wed, 11 Oct 2017 19:21:08 +0900 Subject: [PATCH] Suppress all build warnings 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 --- packaging/libpciaccess.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec index a40a19d..4578ca4 100644 --- a/packaging/libpciaccess.spec +++ b/packaging/libpciaccess.spec @@ -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} -- 2.7.4