diff options
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r-- | build2/cc/compile.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 5a95169..ce96e00 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -531,7 +531,7 @@ namespace build2 hash_options (cs, t, c_coptions); hash_options (cs, t, x_coptions); - hash_std (cs); + hash_options (cs, tstd); if (ct == otype::s) { @@ -1183,8 +1183,7 @@ namespace build2 // append_options (args, t, c_coptions); append_options (args, t, x_coptions); - - append_std (args); + append_options (args, tstd); if (cid == compiler_id::msvc) { @@ -2057,8 +2056,7 @@ namespace build2 // append_options (args, t, c_coptions); append_options (args, t, x_coptions); - - append_std (args); + append_options (args, tstd); if (cid == compiler_id::msvc) { @@ -2272,11 +2270,10 @@ namespace build2 append_options (args, t, c_coptions); append_options (args, t, x_coptions); + append_options (args, tstd); string out, out1; // Storage. - append_std (args); - if (cid == compiler_id::msvc) { // The /F*: option variants with separate names only became available |