Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jul 2015 14:58:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201252] games/darkplaces: fix build on mips and other archs
Message-ID:  <bug-201252-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
          Assignee: makc@FreeBSD.org
             Flags: maintainer-feedback?(makc@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201252-13>