aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pianobar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pianobar.rb b/Library/Formula/pianobar.rb
index 5fd30883f..7ad578cdd 100644
--- a/Library/Formula/pianobar.rb
+++ b/Library/Formula/pianobar.rb
@@ -16,7 +16,7 @@ class Pianobar <Formula
def install
inreplace "Makefile" do |s|
- s.gsub! "CFLAGS:=-std=c99 -O2 -DNDEBUG", "CFLAGS=-std=c99 #{ENV.cflags}"
+ s.gsub! "CFLAGS:=-std=c99 -O2 -DNDEBUG", "CFLAGS=-std=c99 #{ENV.cflags} #{ENV['CPPFLAGS']} #{ENV['LDFLAGS']}"
end
system "make", "PREFIX=#{prefix}"
system "make", "install", "PREFIX=#{prefix}"