Disable clang specific warnings sandbox/nmerinov/llvm
authorNikolai Merinov <n.merinov@samsung.com>
Tue, 5 Feb 2019 12:00:14 +0000 (15:00 +0300)
committerNikolai Merinov <n.merinov@samsung.com>
Tue, 5 Feb 2019 12:00:14 +0000 (15:00 +0300)
packaging/gumd.spec

index 9cabda1..d927fdb 100644 (file)
@@ -111,6 +111,7 @@ echo "SmackProcessLabel=System::Privileged" >> data/gumd.service
 %endif
 
 %build
+CFLAGS+=" -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare"
 autoreconf -ivf
 %if %{debug_build} == 1
 %configure --enable-dbus-type=%{dbus_type} --enable-debug