diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/detect.py | 4 | ||||
-rw-r--r-- | platform/iphone/SCsub | 2 | ||||
-rw-r--r-- | platform/javascript/detect.py | 2 | ||||
-rw-r--r-- | platform/windows/detect.py | 6 | ||||
-rw-r--r-- | platform/winrt/detect.py | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index 5de4f11445..d52bb57c0f 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -49,7 +49,7 @@ def create(env): if "applelink" in tools: tools.remove("applelink") env.Tool('gcc') - return env.Clone(tools=tools); + return env.Clone(tools=tools) def configure(env): @@ -124,7 +124,7 @@ def configure(env): else: env.extra_suffix = ".armv7" + env.extra_suffix - gcc_path = env["ANDROID_NDK_ROOT"] + "/toolchains/" + env["NDK_TARGET"] + "/prebuilt/"; + gcc_path = env["ANDROID_NDK_ROOT"] + "/toolchains/" + env["NDK_TARGET"] + "/prebuilt/" if (sys.platform.startswith("linux")): if (platform.machine().endswith('64')): diff --git a/platform/iphone/SCsub b/platform/iphone/SCsub index 7e71faa377..38f789259c 100644 --- a/platform/iphone/SCsub +++ b/platform/iphone/SCsub @@ -23,7 +23,7 @@ iphone_lib = [ #iphone_lib = env.Library('iphone', iphone_lib) -env_ios = env.Clone(); +env_ios = env.Clone() if env['ios_gles22_override'] == "yes": diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 04a6bc9cc3..ec99392987 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -39,7 +39,7 @@ def get_flags(): def configure(env): - env['ENV'] = os.environ; + env['ENV'] = os.environ env.use_windows_spawn_fix('javascript') env.Append(CPPPATH=['#platform/javascript']) diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 93d29a3606..0576b0bfa9 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -267,7 +267,7 @@ def configure(env): env.Append(LIBPATH=[p for p in os.getenv("LIB").split(";")]) env.Append(CCFLAGS=["/I" + DIRECTX_PATH + "/Include"]) env.Append(LIBPATH=[DIRECTX_PATH + "/Lib/x86"]) - env['ENV'] = os.environ; + env['ENV'] = os.environ # This detection function needs the tools env (that is env['ENV'], not SCons's env), and that is why it's this far bellow in the code compiler_version_str = methods.detect_visual_c_compiler_version(env['ENV']) @@ -323,10 +323,10 @@ def configure(env): env.Append(LINKFLAGS=['-static']) env.Append(LINKFLAGS=['-static-libgcc']) env.Append(LINKFLAGS=['-static-libstdc++']) - mingw_prefix = env["mingw_prefix"]; + mingw_prefix = env["mingw_prefix"] else: env.Append(LINKFLAGS=['-static']) - mingw_prefix = env["mingw_prefix_64"]; + mingw_prefix = env["mingw_prefix_64"] nulstr = "" diff --git a/platform/winrt/detect.py b/platform/winrt/detect.py index 15ac429687..2156e593e8 100644 --- a/platform/winrt/detect.py +++ b/platform/winrt/detect.py @@ -49,7 +49,7 @@ def configure(env): sys.exit() arch = "" - env['ENV'] = os.environ; + env['ENV'] = os.environ # ANGLE angle_root = os.getenv("ANGLE_SRC_PATH") |