Bug 234943 - audio/caps-lv2: fix build with GCC-based architectures
Summary: audio/caps-lv2: 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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-14 14:42 UTC by Piotr Kubaj
Modified: 2019-01-15 07:49 UTC (History)
2 users (show)

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


Attachments
patch (410 bytes, patch)
2019-01-14 14:42 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-01-14 14:42:22 UTC
Created attachment 201128 [details]
patch

GCC architectures don't have libc++. Add -stdlib=libstdc++ on them to CXXFLAGS and LDFLAGS to fix build.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer 2019-01-15 07:49:11 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer 2019-01-15 07:49:49 UTC
A commit references this bug:

Author: yuri
Date: Tue Jan 15 07:49:08 UTC 2019
New revision: 490351
URL: https://svnweb.freebsd.org/changeset/ports/490351

Log:
  audio/caps-lv2: fix build with GCC-based architectures

  GCC architectures don't have libc++. Add -stdlib=libstdc++ on them to CXXFLAGS and LDFLAGS to fix build.

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

Changes:
  head/audio/caps-lv2/Makefile