aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-02 19:34:44 -0500
committerJack Nagel2014-05-02 19:34:44 -0500
commit71d3202e3f579eb879c07e73bf0279b15b962d8a (patch)
tree8fcabcd18fbd1b1f75d93c6b76d34723d3e669dd /Library
parent67a071b9f18ee1fc1a4778602ab2c0cad52694f6 (diff)
downloadhomebrew-71d3202e3f579eb879c07e73bf0279b15b962d8a.tar.bz2
twemcache: use ENV.append
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/twemcache.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/twemcache.rb b/Library/Formula/twemcache.rb
index 84714e6a9..a190668aa 100644
--- a/Library/Formula/twemcache.rb
+++ b/Library/Formula/twemcache.rb
@@ -20,7 +20,8 @@ class Twemcache < Formula
args = ["--prefix=#{prefix}"]
if build.include? "enable-debug"
- ENV['CFLAGS'] += "-ggdb3 -O0"
+ ENV.O0
+ ENV.append "CFLAGS", "-ggdb3"
args << "--enable-debug=full"
end