diff --git a/Formula/doxygen.rb b/Formula/doxygen.rb index 9befcdef5f7..7c249e5cdb0 100644 --- a/Formula/doxygen.rb +++ b/Formula/doxygen.rb @@ -32,10 +32,6 @@ class Doxygen < Formula tmake/lib/macosx-c++/tmake.conf tmake/lib/macosx-intel-c++/tmake.conf tmake/lib/macosx-uni-c++/tmake.conf ] do |s| - # otherwise clang may use up large amounts of RAM while - # processing localization files - # gcc doesn't support the flag - s.gsub! '-Wno-invalid-source-encoding', '' unless ENV.compiler == :clang # makefiles hardcode both cc and c++ s.gsub! /cc$/, ENV.cc s.gsub! /c\+\+$/, ENV.cxx