Bug 159225 - [PATCH]Disable unsupported CFLAGS on non-x86 platforms
Summary: [PATCH]Disable unsupported CFLAGS on non-x86 platforms
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 09:10 UTC by lichray
Modified: 2011-07-30 16:40 UTC (History)
0 users

See Also:


Attachments
mupdf_3.patch (1.21 KB, patch)
2011-07-27 09:10 UTC, lichray
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lichray 2011-07-27 09:10:09 UTC
	
	SSE does not exist on platforms other then i386 and amd64. And -march should be placed by users (FreeBSD already put one, actually). So this patch switches to the release build, and only enables SSE on supported platforms.

Fix: Note that I also unbroken the build on sparc64. I want a call for tests, and know why it does not build.
Comment 1 Anton Shterenlikht 2011-07-27 10:00:04 UTC
With the patch builds fine
on sparc64 -current. I haven't got X installed,
so can't check how it works.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2011-07-30 16:35:44 UTC
State Changed
From-To: open->closed

committed, thanks
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-07-30 16:35:50 UTC
arved       2011-07-30 15:35:35 UTC

  FreeBSD ports repository

  Modified files:
    graphics/mupdf       Makefile 
  Log:
  Unbreak on sparc64
  
  PR:             159225
  Submitted by:   maintainer
  
  Revision  Changes    Path
  1.17      +6 -7      ports/graphics/mupdf/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"