From 091df05e8d2d7b73ad14b5ddba7e8f8358e97c6f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 12 Nov 2013 12:00:18 -0600 Subject: pdnsrec: enable superenv --- Library/Formula/pdnsrec.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Library/Formula') 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' -- cgit v1.2.3