Skip to content
Permalink
Browse files

Do not use rsp for ar.

  • Loading branch information...
egorpugin committed Aug 12, 2019
1 parent 20456ea commit 1eca13aeac2eaf3372b80ed7a35c8c2be497f518
Showing with 3 additions and 2 deletions.
  1. +3 −0 src/sw/driver/compiler/compiler.cpp
  2. +0 −2 sw.cpp
@@ -802,6 +802,9 @@ void GNULibrarian::prepareCommand1(const Target &t)
// TODO: investigate, fix and remove?
cmd->remove_outputs_before_execution = true;

if (t.getBuildSettings().TargetOS.isApple())
cmd->use_response_files = false;

// can be zero imput files actually: lib.exe /DEF:my.def /OUT:x.lib
//if (InputFiles().empty())
//return nullptr;
2 sw.cpp
@@ -54,8 +54,6 @@ void build(Solution &s)
support.Protected += "_CRT_SECURE_NO_WARNINGS"_d;
support.Public += "UNICODE"_d;
}
if (support.getBuildSettings().TargetOS.isApple())
support.Public += "BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED"_def;
if (support.getCompilerType() != CompilerType::MSVC)
{
support.Protected.CompileOptions.push_back("-Wall");

0 comments on commit 1eca13a

Please sign in to comment.
You can’t perform that action at this time.