diff options
| -rw-r--r-- | Library/Formula/python.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/python3.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/extend/ENV/std.rb | 4 |
3 files changed, 0 insertions, 6 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 5b4f214d8..d12d86d96 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -239,7 +239,6 @@ class Python < Formula # http://docs.python.org/devguide/setup.html#id8 suggests to disable some Warnings. ENV.append_to_cflags '-Wno-unused-value' ENV.append_to_cflags '-Wno-empty-body' - ENV.append_to_cflags '-Qunused-arguments' end end diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 581cae744..bbf005769 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -211,7 +211,6 @@ class Python3 < Formula # http://docs.python.org/devguide/setup.html#id8 suggests to disable some Warnings. ENV.append_to_cflags '-Wno-unused-value' ENV.append_to_cflags '-Wno-empty-body' - ENV.append_to_cflags '-Qunused-arguments' end end diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index 689eed7a1..c90edf0b6 100644 --- a/Library/Homebrew/extend/ENV/std.rb +++ b/Library/Homebrew/extend/ENV/std.rb @@ -260,7 +260,6 @@ module Stdenv # 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 def m64 @@ -338,9 +337,6 @@ module Stdenv else append flags, map.fetch(Hardware::CPU.family, default) end - - # not really a 'CPU' cflag, but is only used with clang - remove flags, '-Qunused-arguments' end def set_cpu_cflags default=DEFAULT_FLAGS, map=Hardware::CPU.optimization_flags |
