Bug 233813

Summary: devel/psptoolchain-pspsdk-stage2: Fix build when -march is set in CFLAGS
Product: Ports & Packages Reporter: Tassilo Philipp <tphilipp>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Some People Flags: koobs: merge-quarterly?
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233546
Attachments:
Description Flags
patch tphilipp: maintainer-approval+

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!