diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index ac23bd5ecf..06b45c3bdb 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -161,6 +161,8 @@
_$(CPU)
+ _amd64
+ _ia64
@@ -272,6 +274,15 @@
unicows
+
+ /MACHINE:AMD64
+ /MACHINE:IA64
+
+
+ WX_CPU_AMD64
+ WX_CPU_IA64
+
+
$(DEBUGINFO)
$(DEBUGRUNTIME)
@@ -292,6 +303,10 @@
$(_ldlibs.replace('ccrtrtti.lib', ''))
$(_cppflags.replace('/GR', ''))
+
+ $(LINK_TARGET_CPU)
+ $(RES_TARGET_CPU)
+
diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl
index f20892eb15..c8e241faa9 100644
--- a/build/bakefiles/config.bkl
+++ b/build/bakefiles/config.bkl
@@ -54,6 +54,23 @@
+
+
+
+
+
+
+