svn commit: r473698 - head/emulators/simh

Alexey Dokuchaev danfe at FreeBSD.org
Mon Jul 2 03:25:06 UTC 2018


On Mon, Jul 02, 2018 at 03:08:57AM +0000, Mark Linimon wrote:
> New Revision: 473698
> URL: https://svnweb.freebsd.org/changeset/ports/473698
> 
> Log:
>   Attempt to see if the build can be fixed on non-clang-based archs.
>   
> [...]
> +.include <bsd.port.pre.mk>
> +
> +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386
> +CFLAGS+=	-Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-shift-negative-value
> +.endif

Hmm, perhaps a better approach would've been to USES+=compiler:env and
set CFLAGS based on COMPILER_TYPE (or is it CHOSEN_COMPILER_TYPE?) rather
than hardcode all those arch names.

./danfe


More information about the svn-ports-all mailing list