Fix -rebuild flag when using Neko target on windows
This commit is contained in:
@@ -467,7 +467,7 @@ class WindowsPlatform extends PlatformTarget {
|
||||
|
||||
var commands = [];
|
||||
|
||||
if (!targetFlags.exists ("64") && (command == "rebuild" || System.hostArchitecture == X86)) {
|
||||
if (!targetFlags.exists ("64") && (command == "rebuild" || System.hostArchitecture == X86 || targetType != "cpp")) {
|
||||
|
||||
if (targetFlags.exists ("winrt")) {
|
||||
|
||||
@@ -485,7 +485,7 @@ class WindowsPlatform extends PlatformTarget {
|
||||
// as previous Windows builds. For now, force -64 to be done last
|
||||
// so that it can be debugged in a default "rebuild"
|
||||
|
||||
if (!targetFlags.exists ("32") && System.hostArchitecture == X64) {
|
||||
if (!targetFlags.exists ("32") && System.hostArchitecture == X64 && (command != "rebuild" || targetType == "cpp")) {
|
||||
|
||||
if (targetFlags.exists ("winrt")) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user