[Bug 201981] [MAINTAINER] sysutils/b2sum: build fix
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 30 01:04:20 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201981
Bug ID: 201981
Summary: [MAINTAINER] sysutils/b2sum: build fix
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: matthew at reztek.cz
Attachment #159377 maintainer-approval+
Flags:
Created attachment 159377
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159377&action=edit
sysutils/b2sum build fix
Build with 9.x's older Clang fails in SSE path (default on amd64) without
-flax-vector-conversions. Ideally the addition of that CFLAG could be
conditional upon CHOSEN_COMPILER_TYPE == "clang" && COMPILER_VERSION < 34, but
those variables cannot be checked without a USES=compiler, which we only have
in the OPENMP case, but in that case we know CHOSEN_COMPILER_TYPE == "gcc". Or,
at least it should... compiler:openmp selects GCC on 10.x but selects Clang on
9.x. So, just add -flax-vector-conversions to CFLAGS for the whole SSE path, it
should be harmless for newer compilers.
While here, update the distfile. Upstream rolled a new one dated a few days
later. The previous distfile had a few binaries in it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list