aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-04-14 13:35:02 -0700
committerMisty De Meo2014-04-14 13:47:00 -0700
commit4d0676476190ed3249d05ca182ca84c5ed5ad581 (patch)
tree115aece331cc2fec1f9ca201e1de50a5e71301d9 /Library
parent78fd07435d132550ad84c1a35166899b2af80a9b (diff)
downloadhomebrew-4d0676476190ed3249d05ca182ca84c5ed5ad581.tar.bz2
mpd: specify libc++ for clang
Closes #28399. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mpd.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb
index 0e2c6fd48..c776079da 100644
--- a/Library/Formula/mpd.rb
+++ b/Library/Formula/mpd.rb
@@ -55,6 +55,11 @@ class Mpd < Formula
depends_on "libvorbis" if build.with? "vorbis" # Vorbis support
def install
+ # mpd specifies -std=gnu++0x, but clang appears to try to build
+ # that against libstdc++ anyway, which won't work.
+ # The build is fine with G++.
+ ENV.libcxx
+
if build.include? "lastfm" or build.include? "libwrap" \
or build.include? "enable-soundcloud"
opoo "You are using an option that has been replaced."