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: |
|
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 Committed, thanks! |
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.