Bug 235527 - comms/gsmlib: fix build with GCC-based architectures
Summary: comms/gsmlib: 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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-05 14:56 UTC by Piotr Kubaj
Modified: 2019-02-06 00:14 UTC (History)
1 user (show)

See Also:


Attachments
patch (471 bytes, patch)
2019-02-05 14:56 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-02-05 14:56:26 UTC
Created attachment 201766 [details]
patch

Don't add CXXFLAGS+=-Wno-c++11-narrowing, which is not supported by base GCC. Instead add USE_CXXSTD=c++98 which makes this port compile by both base GCC and Clang.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-02-06 00:14:34 UTC
A commit references this bug:

Author: linimon
Date: Wed Feb  6 00:14:19 UTC 2019
New revision: 492280
URL: https://svnweb.freebsd.org/changeset/ports/492280

Log:
  CXXFLAGS+=-Wno-c++11-narrowing is not supported by base GCC.  Instead
  add USE_CXXSTD=c++98 which makes this port compile by both base GCC and
  Clang.

  PR:		235527
  Submitted by:	Piotr Kubaj

Changes:
  head/comms/gsmlib/Makefile