Merge "Move libFlags as well to the RSP file for link actions"
This commit is contained in:
@@ -63,10 +63,10 @@ var (
|
|||||||
ld, ldRE = pctx.RemoteStaticRules("ld",
|
ld, ldRE = pctx.RemoteStaticRules("ld",
|
||||||
blueprint.RuleParams{
|
blueprint.RuleParams{
|
||||||
Command: "$reTemplate$ldCmd ${crtBegin} @${out}.rsp " +
|
Command: "$reTemplate$ldCmd ${crtBegin} @${out}.rsp " +
|
||||||
"${libFlags} ${crtEnd} -o ${out} ${ldFlags} ${extraLibFlags}",
|
"${crtEnd} -o ${out} ${ldFlags} ${extraLibFlags}",
|
||||||
CommandDeps: []string{"$ldCmd"},
|
CommandDeps: []string{"$ldCmd"},
|
||||||
Rspfile: "${out}.rsp",
|
Rspfile: "${out}.rsp",
|
||||||
RspfileContent: "${in}",
|
RspfileContent: "${in} ${libFlags}",
|
||||||
// clang -Wl,--out-implib doesn't update its output file if it hasn't changed.
|
// clang -Wl,--out-implib doesn't update its output file if it hasn't changed.
|
||||||
Restat: true,
|
Restat: true,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user