From 834bc2298f4812a9b76c0794d1acf9a3deb405a6 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 9 Dec 2021 15:34:36 +0100 Subject: [PATCH] makepanda: Fix compiler error building for x86(_64) on Android --- makepanda/makepanda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index e1e9cdea97..ce7cc78a73 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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"