Skip to content

Commit cb45693

Browse files
committed
Fixed inheritance of non-ARM Archs
1 parent 7174dfe commit cb45693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/toolchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ class Archx86(Arch):
545545
arch = 'x86'
546546

547547
def get_env(self):
548-
env = super(ArchARMv7_a, self).get_env()
548+
env = super(Archx86, self).get_env()
549549
env['CFLAGS'] = env['CFLAGS'] + ' -march=i686 -mtune=intel -mssse3 -mfpmath=sse -m32'
550550
env['CXXFLAGS'] = env['CFLAGS']
551551
return env
@@ -554,7 +554,7 @@ class Archx86_64(Arch):
554554
arch = 'x86_64'
555555

556556
def get_env(self):
557-
env = super(ArchARMv7_a, self).get_env()
557+
env = super(Archx86_64, self).get_env()
558558
env['CFLAGS'] = env['CFLAGS'] + ' -march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=intel'
559559
env['CXXFLAGS'] = env['CFLAGS']
560560
return env

0 commit comments

Comments
 (0)