===================================================================
--- a/configure.vbs     (revision 43852)
+++ b/configure.vbs     (working copy)
@@ -901,6 +901,13 @@
       EnvPrint "set KBUILD_HOST_ARCH=x86"
       EnvSet "KBUILD_HOST_ARCH", "x86"
       MsgWarning "Found unknown KBUILD_HOST_ARCH value '" & str &"' in your
environment. Setting it to 'x86'."
+   elseif    (EnvGet("PROCESSOR_ARCHITEW6432") = "AMD64" ) _
+          Or (EnvGet("PROCESSOR_ARCHITECTURE") = "AMD64" ) then
+       EnvPrint "set KBUILD_HOST_ARCH=amd64"
+       EnvSet "KBUILD_HOST_ARCH", "amd64"
+        else
+       EnvPrint "set KBUILD_HOST_ARCH=x86"
+       EnvSet "KBUILD_HOST_ARCH", "x86"                  
    end if
 
    str = EnvGetFirst("KBUILD_HOST_CPU", "BUILD_PLATFORM_CPU")

This Patch is contributed under the MIT license

Regards
Bodo


_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to