diff --git a/Formula/t/tcc.rb b/Formula/t/tcc.rb index 9fce485d394d..90e816e8ffb3 100644 --- a/Formula/t/tcc.rb +++ b/Formula/t/tcc.rb @@ -45,7 +45,11 @@ def install ENV.deparallelize system "./configure", *args - system "make", "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}" + + make_args = [] + make_args << "MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}" if OS.mac? + + system "make", *make_args system "make", "install" end