| ... | @@ -8469,7 +8469,12 @@ static void init(CodeGen *g) { | ... | @@ -8469,7 +8469,12 @@ static void init(CodeGen *g) { |
| 8469 | // uses as base cpu. | 8469 | // uses as base cpu. |
| 8470 | // TODO https://github.com/ziglang/zig/issues/2883 | 8470 | // TODO https://github.com/ziglang/zig/issues/2883 |
| 8471 | target_specific_cpu_args = "pentium4"; | 8471 | target_specific_cpu_args = "pentium4"; |
| 8472 | target_specific_features = ""; | 8472 | if (g->zig_target->os == OsFreestanding) { |
| | 8473 | target_specific_features = "-sse"; |
| | 8474 | } |
| | 8475 | else { |
| | 8476 | target_specific_features = ""; |
| | 8477 | } |
| 8473 | } else { | 8478 | } else { |
| 8474 | target_specific_cpu_args = ""; | 8479 | target_specific_cpu_args = ""; |
| 8475 | target_specific_features = ""; | 8480 | target_specific_features = ""; |