Bug 233812 - devel/psptoolchain-newlib: fix build when -march is set in env
Summary: devel/psptoolchain-newlib: fix build when -march is set in env
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-05 22:43 UTC by Tassilo Philipp
Modified: 2019-06-03 02:13 UTC (History)
0 users

See Also:


Attachments
patch (953 bytes, patch)
2018-12-05 22:43 UTC, Tassilo Philipp
tphilipp: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Philipp 2018-12-05 22:43:06 UTC
Created attachment 199869 [details]
patch

This fixes the build when the environment's C(XX)?FLAGS has -march set (e.g. when setting CPUTYPE in make.conf). Since this is built by the cross-compiler built in psptoolchain-gcc* the -march flag has no purpose. This patch strips it so gnu configure doesn't pick it up.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-09 03:17:38 UTC
A commit references this bug:

Author: swills
Date: Sun Dec  9 03:16:52 UTC 2018
New revision: 487017
URL: https://svnweb.freebsd.org/changeset/ports/487017

Log:
  devel/psptoolchain-newlib: fix build when -march is set in env

  PR:		233812
  Submitted by:	Tassilo Philipp <tphilipp@potion-studios.com> (maintainer)

Changes:
  head/devel/psptoolchain-newlib/Makefile
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-12-09 03:17:57 UTC
Committed, thanks!