summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoyub Lee <hoyub.lee@samsung.com>2017-10-11 19:21:08 +0900
committerBoram Park <boram1288.park@samsung.com>2017-10-12 08:20:09 +0900
commit9e28f0eaf657a6ec2c4185c9ed96378240226a49 (patch)
tree4920bb8ac9ff3ba2c72547388d336365134173bf
parentf6e03c6b9618fbcb87452d6d83fcb9a7ba6ff1a8 (diff)
downloadlibpciaccess-9e28f0eaf657a6ec2c4185c9ed96378240226a49.tar.gz
libpciaccess-9e28f0eaf657a6ec2c4185c9ed96378240226a49.tar.bz2
libpciaccess-9e28f0eaf657a6ec2c4185c9ed96378240226a49.zip
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 <hoyub.lee@samsung.com>
-rw-r--r--packaging/libpciaccess.spec1
1 files changed, 1 insertions, 0 deletions
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}