Bug 235540 - comms/sunxi-tools: fix build with GCC-based architectures
Summary: comms/sunxi-tools: fix build with GCC-based architectures
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: Emmanuel Vadot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-05 19:14 UTC by Piotr Kubaj
Modified: 2019-03-29 16:04 UTC (History)
2 users (show)

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


Attachments
patch (1.33 KB, patch)
2019-02-05 19:14 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 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 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