diff --git a/squid.spec b/squid.spec index 465af2d..387c0ee 100644 --- a/squid.spec +++ b/squid.spec @@ -130,6 +130,12 @@ LDFLAGS="$RPM_LD_FLAGS -pie -Wl,-z,relro -Wl,-z,now -Wl,--warn-shared-textrel" %ifnarch %{power64} ia64 x86_64 s390x aarch64 --with-large-files \ %endif +# disable strict error checking, since GCC7 is producing false-positive +# error on arm arch +# https://bugzilla.redhat.com/show_bug.cgi?id=1439647 + %ifarch %{arm} + --disable-strict-error-checking \ + %endif --enable-linux-netfilter \ --enable-removal-policies="heap,lru" \ --enable-snmp \