diff options
| author | gingerBill <bill@gingerbill.org> | 2018-06-15 21:38:22 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-06-15 21:38:22 +0100 |
| commit | b92a8c513ea04ce2c4e6245d047d47ece0b75fa2 (patch) | |
| tree | d83cb7ef2d6e0c202d64d086bfafad7db907ef35 /src/parser.cpp | |
| parent | 13572aeef0001f4c82f68468a530f63411e7c319 (diff) | |
Modify how build settings are handled
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 780ab1574..3639a0f92 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4235,19 +4235,19 @@ bool parse_build_tag(Token token_for_pos, String s) { GB_ASSERT(arch == TargetArch_Invalid); any_correct = true; if (is_notted) { - if (os != build_context.target_os) { + if (os != build_context.metrics.os) { return true; } - } else if (os == build_context.target_os) { + } else if (os == build_context.metrics.os) { return true; } } else if (arch != TargetArch_Invalid) { any_correct = true; if (is_notted) { - if (arch != build_context.target_arch) { + if (arch != build_context.metrics.arch) { return true; } - } else if (arch == build_context.target_arch) { + } else if (arch == build_context.metrics.arch) { return true; } } |