aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pdnsrec.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/pdnsrec.rb b/Library/Formula/pdnsrec.rb
index dd81393ba..4453adfa9 100644
--- a/Library/Formula/pdnsrec.rb
+++ b/Library/Formula/pdnsrec.rb
@@ -9,16 +9,11 @@ class Pdnsrec < Formula
depends_on 'boost'
depends_on 'lua' => :optional
- # Disable superenv, else the compiled binary crashes at startup
- env :std
-
def install
# Set overrides using environment variables
ENV['DESTDIR'] = "#{prefix}"
ENV['OPTFLAGS'] = "-O0"
-
- # Ensure only -O0 is passed to compiler
- ENV.remove_from_cflags /-Os/
+ ENV.O0
# Include Lua if requested
if build.include? 'with-lua'