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
@@ -599,7 +599,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
@@ -823,8 +823,6 @@ if selected_platform in platform_list:
 
     if env_base["precision"] == "double":
         suffix += ".double"
-
-    suffix += "." + env["arch"]
 
     if not env["threads"]:
         suffix += ".nothreads"
