Browse Source

makepanda: Remove -m32 and -m64 flags for Android

rdb 1 month ago
parent
commit
d1aeef5c25
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makepanda/makepanda.py

+ 2 - 2
makepanda/makepanda.py

@@ -1382,10 +1382,10 @@ def CompileCxx(obj,src,opts):
             elif arch == 'mips64':
             elif arch == 'mips64':
                 cmd += ' -fintegrated-as'
                 cmd += ' -fintegrated-as'
             elif arch == 'x86':
             elif arch == 'x86':
-                cmd += ' -march=i686 -mssse3 -mfpmath=sse -m32'
+                cmd += ' -march=i686 -mssse3 -mfpmath=sse'
                 cmd += ' -mstackrealign'
                 cmd += ' -mstackrealign'
             elif arch == 'x86_64':
             elif arch == 'x86_64':
-                cmd += ' -march=x86-64 -msse4.2 -mpopcnt -m64'
+                cmd += ' -march=x86-64 -msse4.2 -mpopcnt'
 
 
             cmd += " -Wa,--noexecstack"
             cmd += " -Wa,--noexecstack"