diff options
| author | Jack Nagel | 2012-02-21 00:38:57 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-21 00:41:47 -0600 |
| commit | 8ee2a1d8b01dcd8d4f59ec1288e37ada166067a1 (patch) | |
| tree | b0b15aa8f094801d672a0168ef5c30c03987d691 /Library | |
| parent | 3709168a71ef4d581b6dfefdad2d33200576e2ee (diff) | |
| download | homebrew-8ee2a1d8b01dcd8d4f59ec1288e37ada166067a1.tar.bz2 | |
Remove -Qunused-arguments in ENV.enable_warnings
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index b71c0228e..0373bced1 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -254,6 +254,7 @@ Please take one of the following actions: # we've seen some packages fail to build when warnings are disabled! def enable_warnings remove_from_cflags '-w' + remove_from_cflags '-Qunused-arguments' end # Snow Leopard defines an NCURSES value the opposite of most distros @@ -350,7 +351,7 @@ Please take one of the following actions: end # not really a 'CPU' cflag, but is only used with clang - remove_from_cflags %r{ -Qunused-arguments} + remove_from_cflags '-Qunused-arguments' end # actually c-compiler, so cc would be a better name |
