bits -> arch.
authorCarl Hetherington <cth@carlh.net>
Wed, 23 Dec 2020 18:56:04 +0000 (19:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 23 Dec 2020 18:56:04 +0000 (19:56 +0100)
cscript

diff --git a/cscript b/cscript
index ccd4eed979f834f7f41f5c29e31260fcbd90a677..61ef07a383bc12487ccbf4d01491813f8ebbd25a 100644 (file)
--- a/cscript
+++ b/cscript
@@ -417,7 +417,7 @@ def configure_options(target, options):
                 # I worry that this will cause ABI problems but I don't have
                 # a better solution.
                 opt += ' --force-cpp11'
-    elif target.platform == 'osx' and target.bits == 64:
+    elif target.platform == 'osx' and target.arch != 'i386':
         opt += ' --force-cpp11'
 
     if not options['gui']: