Add -Wno-nonnull-compare to avoid diving into platform wrappers

This commit is contained in:
Paul Wouters 2016-10-12 15:03:29 -04:00
parent 9fd9e91f1c
commit 58e06b1cd0

View File

@ -26,7 +26,7 @@ sed -i -e 's/__asm__(".symver timer_settime_22/\/\/__asm__(".symver timer_settim
%build
cd src ; CFLAGS="%{optflags} -Wno-strict-aliasing" make %{?_smp_mflags} \
cd src ; CFLAGS="%{optflags} -Wno-nonnull-compare -Wno-strict-aliasing" make %{?_smp_mflags} \
PREFIX="%{_prefix}" LIBDIRNAME="/%{_lib}/faketime" all
%check