aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lua.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/lua.rb')
-rw-r--r--Library/Formula/lua.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
index 78ad09a32..fc5c86ada 100644
--- a/Library/Formula/lua.rb
+++ b/Library/Formula/lua.rb
@@ -18,7 +18,7 @@ class Lua <Formula
# Use our CC/CFLAGS to compile.
inreplace 'src/Makefile' do |s|
s.remove_make_var! 'CC'
- s.change_make_var! 'CFLAGS', "#{ENV['CFLAGS']} $(MYCFLAGS)"
+ s.change_make_var! 'CFLAGS', "#{ENV.cflags} $(MYCFLAGS)"
end
# Fix path in the config header