Bug 231672 - devel/openocd: fix build with powerpc64
Summary: devel/openocd: fix build with powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steven Kreuzer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-24 15:50 UTC by Piotr Kubaj
Modified: 2018-09-27 22:37 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (skreuzer)


Attachments
patch (687 bytes, patch)
2018-09-24 15:50 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2018-09-24 15:50:18 UTC
Created attachment 197441 [details]
patch

-Wno-error=unused-command-line-argument is not supported on GCC 4.2. I replaced it with -Wno-error, without any -Wno* flag the port doesn't build on amd64.

The port still compiles fine on both amd64 and powerpc64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-09-27 22:35:01 UTC
A commit references this bug:

Author: linimon
Date: Thu Sep 27 22:34:31 UTC 2018
New revision: 480826
URL: https://svnweb.freebsd.org/changeset/ports/480826

Log:
  Fix build on gcc-based archs.

  Tested on powerpc64, amd64.

  PR:		231672
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/devel/openocd/Makefile