summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-20 16:03:26 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-20 16:03:26 -0700
commit502270dd086183025a98cbc5a0558f8ffdbcc012 (patch)
treea951a1b20931f901164c7e5445ce254fbf59bc20
parentcabcc180d647875f1533ab5878948ee02cf60808 (diff)
downloadlibyajl2-gem-502270dd086183025a98cbc5a0558f8ffdbcc012.tar.gz
overriding LDCONFIG/CFLAGS turns out to be bad
we do this all the time in the omnibus builds for chef and it'll cause a huge headache to do this. just need to make sure that the command line flags to gem install work correctly at some point.
-rw-r--r--ext/libyajl2/extconf.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb
index 90c75e0..5939f82 100644
--- a/ext/libyajl2/extconf.rb
+++ b/ext/libyajl2/extconf.rb
@@ -39,10 +39,6 @@ module Libyajl2Build
end
$CFLAGS << " -DNDEBUG"
-
- # ENV vars can override everything
- $CFLAGS = ENV['CFLAGS'] if ENV['CFLAGS']
- $LDFLAGS = ENV['LDFLAGS'] if ENV['LDFLAGS']
end
def self.makemakefiles