mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
636c12c124
The recent commit 048a5088c5 updated
scons to 4.10.1, but neglected to correct a version related path in
a patch. This fixes that oversight, so that scons hostpkg builds
again. Also, fix up fuzz in the patches.
Signed-off-by: Russell Senior <russell@personaltelco.net>
12 lines
374 B
Diff
12 lines
374 B
Diff
--- a/scons-local-4.10.1/SCons/Platform/__init__.py
|
|
+++ b/scons-local-4.10.1/SCons/Platform/__init__.py
|
|
@@ -69,6 +69,8 @@ def platform_default():
|
|
care about the machine architecture.
|
|
"""
|
|
osname = os.name
|
|
+ if 'PLATFORM' in os.environ:
|
|
+ return os.environ['PLATFORM']
|
|
if osname == 'java':
|
|
osname = os._osType
|
|
if osname == 'posix':
|