Bug #1478326: don't allow '/' in distutils.util.get_platform machine names
since this value is used to name the build directory.
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index 387e9bd..061092b 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -45,6 +45,7 @@
     osname = string.lower(osname)
     osname = string.replace(osname, '/', '')
     machine = string.replace(machine, ' ', '_')
+    machine = string.replace(machine, '/', '-')
 
     if osname[:5] == "linux":
         # At least on Linux/Intel, 'machine' is the processor --