VirtualBox

Changeset 71902 in vbox for trunk


Ignore:
Timestamp:
Apr 18, 2018 3:19:39 PM (7 years ago)
Author:
vboxsync
Message:

configure.vbs: Pick the 64-bit kBuild binaries on 64-bit hosts. Buggy test forced 32-bit regardless of any other considerations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.vbs

    r71200 r71902  
    4545dim g_strTargetArch
    4646g_strTargetArch = ""
     47
     48dim g_strHostArch
     49g_strHostArch = ""
    4750
    4851dim g_blnDisableCOM, g_strDisableCOM
     
    934937   Wscript.Echo " Host architecture: " & str & "."
    935938   EnvPrint "set KBUILD_HOST_ARCH=" & str
     939   g_strHostArch = str
    936940
    937941   str = EnvGetFirst("KBUILD_HOST_CPU", "BUILD_PLATFORM_CPU")
     
    948952   '
    949953   if g_strPathkBuildBin = "" then
    950       g_strPathkBuildBin = g_strPathkBuild & "/bin/win." & g_strTargetArch
    951       if FileExists(g_strPathkBuild & "/kmk.exe") = False then
     954      g_strPathkBuildBin = g_strPathkBuild & "/bin/win." & g_strHostArch
     955      if FileExists(g_strPathkBuildBin & "/kmk.exe") = False then
    952956         g_strPathkBuildBin = g_strPathkBuild & "/bin/win.x86"
    953957      end if
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette