makepanda: Fix compiler error building for x86(_64) on Android

This commit is contained in:
rdb 2021-12-09 15:34:36 +01:00
parent 8b49b0f2b2
commit 834bc2298f

View File

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