disable hardcoded compiler/linker flags.  We handle stripping and debug
(-g), as well as optimizations (-On), by ourselves.

Remove architecture from the program names

Index: SConstruct
--- SConstruct.orig
+++ SConstruct
@@ -596,7 +596,7 @@ if selected_platform in platform_list:
             env.Append(LINKFLAGS=["/OPT:REF"])
         elif env["optimize"] == "debug" or env["optimize"] == "none":
             env.Append(CCFLAGS=["/Od"])
-    else:
+    elif False: # disable -g/-O/-s flags; we handle them ourselves
         if env["debug_symbols"]:
             # Adding dwarf-4 explicitly makes stacktraces work with clang builds,
             # otherwise addr2line doesn't understand them
@@ -821,7 +821,6 @@ if selected_platform in platform_list:
     if env_base["precision"] == "double":
         suffix += ".double"
 
-    suffix += "." + env["arch"]
     suffix += env.extra_suffix
 
     sys.path.remove(tmppath)
