Skip to content

Commit 807a94e

Browse files
committed
Fixed imports in archs.py
1 parent 7a257e5 commit 807a94e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

pythonforandroid/archs.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
from os.path import (join)
2+
from os import environ, uname
3+
import sys
4+
from distutils.spawn import find_executable
5+
from recipebases import Recipe
6+
7+
from pythonforandroid.logger import warning
8+
29

310
class Arch(object):
411

@@ -103,7 +110,8 @@ class ArchARMv7_a(ArchARM):
103110
def get_env(self):
104111
env = super(ArchARMv7_a, self).get_env()
105112
env['CFLAGS'] = (env['CFLAGS'] +
106-
' -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb')
113+
(' -march=armv7-a -mfloat-abi=softfp '
114+
'-mfpu=vfp -mthumb'))
107115
env['CXXFLAGS'] = env['CFLAGS']
108116
return env
109117

pythonforandroid/toolchain.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
from copy import deepcopy
2828
from functools import wraps
2929
from datetime import datetime
30-
from distutils.spawn import find_executable
3130
from math import log10
3231

3332
import argparse

0 commit comments

Comments
 (0)