Bug 236744 - security/libfido2: fix build with GCC-based architectures
Summary: security/libfido2: 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: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-24 00:51 UTC by Piotr Kubaj
Modified: 2019-03-24 14:34 UTC (History)
2 users (show)

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


Attachments
patch (626 bytes, patch)
2019-03-24 00:51 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 2019-03-24 00:51:54 UTC
Created attachment 203087 [details]
patch

-Wno-unused-result and -Wno-discarded-qualifiers are incompatible with base GCC. Remove those flags when using base GCC so that the port builds on GCC architectures.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-03-24 14:34:11 UTC
A commit references this bug:

Author: sunpoet
Date: Sun Mar 24 14:33:37 UTC 2019
New revision: 496754
URL: https://svnweb.freebsd.org/changeset/ports/496754

Log:
  Fix build on powerpc

  PR:		236744
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/security/libfido2/Makefile
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-03-24 14:34:23 UTC
Committed. Thanks!