Bug 242582 - devel/xeus: don't optimize for the host CPU
Summary: devel/xeus: don't optimize for the host CPU
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-11 14:33 UTC by Piotr Kubaj
Modified: 2019-12-11 15:45 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (431 bytes, patch)
2019-12-11 14:33 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-12-11 14:33:18 UTC
Created attachment 209869 [details]
patch

It causes a build error on powerpc64:
g++9: error: unrecognized command line option '-march=native'; did you mean '-mcpu=native'?

And may cause runtime issues even when it builds.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-12-11 15:45:14 UTC
A commit references this bug:

Author: pkubaj
Date: Wed Dec 11 15:44:40 UTC 2019
New revision: 519812
URL: https://svnweb.freebsd.org/changeset/ports/519812

Log:
  devel/xeus: don't optimize for the host CPU

  It causes a build error on powerpc64:
  g++9: error: unrecognized command line option '-march=native'; did you mean '-mcpu=native'?

  And may cause runtime issues even when it builds.

  PR:		242582
  Approved by:	yuri (maintainer)

Changes:
  head/devel/xeus/Makefile