aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-06 11:48:21 -0700
committerAdam Vandenberg2010-09-06 11:48:21 -0700
commit53cf7e843b05a1dc1247312c9358023234bb9411 (patch)
treef4d8d7f6c86964488d100d5186e52006f453809e /Library
parentfc7a0be039c33420175f44661e8ea56604c47c64 (diff)
downloadbrew-53cf7e843b05a1dc1247312c9358023234bb9411.tar.bz2
Add ENV.ldflags and use.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 0b854544a..dc0061a91 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -181,6 +181,7 @@ module HomebrewEnvExtension
# CFLAGS are read quite a bit
def cflags; ENV['CFLAGS']; end
+ def ldflags; ENV['LDFLAGS']; end
def m64
append_to_cflags '-m64'