Bug 233813 - devel/psptoolchain-pspsdk-stage2: Fix build when -march is set in CFLAGS
Summary: devel/psptoolchain-pspsdk-stage2: Fix build when -march is set in CFLAGS
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:46 UTC by Tassilo Philipp
Modified: 2019-06-03 02:13 UTC (History)
0 users

See Also:
koobs: merge-quarterly?


Attachments
patch (643 bytes, patch)
2018-12-05 22:46 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:46:28 UTC
Created attachment 199870 [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:15:33 UTC
A commit references this bug:

Author: swills
Date: Sun Dec  9 03:15:27 UTC 2018
New revision: 487016
URL: https://svnweb.freebsd.org/changeset/ports/487016

Log:
  devel/psptoolchain-pspsdk-stage2: Fix build when -march is set in CFLAGS

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

Changes:
  head/devel/psptoolchain-pspsdk-stage2/Makefile
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-12-09 03:16:32 UTC
Committed, thanks!