Bug 235540

Summary: comms/sunxi-tools: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Emmanuel Vadot <manu>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (manu)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-02-05 19:14:30 UTC
Created attachment 201778 [details]
patch

-Wno-unused-result is not supported by base GCC. Remove it to fix build on GCC architectures.

Tested to still compile with base Clang.

Hardware sponsored by IntegriCloud.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-03-29 16:03:21 UTC
Committed, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-03-29 16:04:27 UTC
A commit references this bug:

Author: linimon
Date: Fri Mar 29 16:03:40 UTC 2019
New revision: 497160
URL: https://svnweb.freebsd.org/changeset/ports/497160

Log:
  Fix build on GCC-based architectures:

    unrecognized command line option "-Wno-unused-result"

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

Changes:
  head/comms/sunxi-tools/Makefile
  head/comms/sunxi-tools/files/patch-Makefile