Created attachment 199849 [details] patch Base GCC supports neither -Wno-logical-op-parentheses nor -Wno-dangling-else. Remove them on GCC architectures to fix build with base GCC. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
Created attachment 199850 [details] patch Better patch.
Thank you for patch. Please go ahead.
A commit references this bug: Author: linimon Date: Fri Dec 7 15:34:52 UTC 2018 New revision: 486867 URL: https://svnweb.freebsd.org/changeset/ports/486867 Log: Base GCC supports neither -Wno-logical-op-parentheses nor -Wno-dangling-else. Remove them on GCC-based architectures to fix build. PR: 233800 Submitted by: Piotr Kubaj Approved by: maintainer Changes: head/security/clamav/Makefile