[Bug 201252] games/darkplaces: fix build on mips and other archs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 1 14:58:58 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201252

            Bug ID: 201252
           Summary: games/darkplaces: fix build on mips and other archs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: makc at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: makc at FreeBSD.org
             Flags: maintainer-feedback?(makc at FreeBSD.org)

Created attachment 158223
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158223&action=edit
Patch

On mips and other non-x86 archs:

cc1: error: unrecognized command line option "-msse2"

It's marked broken on some of them, but instead just sse should be disabled.
Fix it in a most correct way, with following:

- Add SSE option on i386 and amd64
- Enable it by default on amd64
- Based on it, disable or enable SSE support completely

I can confirm that it fixes build at least on mips.

While here, silence post-patch

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list