Bug 233812

Summary: devel/psptoolchain-newlib: fix build when -march is set in env
Product: Ports & Packages Reporter: Tassilo Philipp <tphilipp>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Some People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch tphilipp: maintainer-approval+

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 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 2018-12-09 03:17:57 UTC
Committed, thanks!