Victor Oliveira
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
buildroot/share/PlatformIO/scripts/common-dependencies.py
|
@ -208,7 +208,8 @@ def search_compiler(): |
|
|
for filepath in os.listdir(pathdir): |
|
|
for filepath in os.listdir(pathdir): |
|
|
if not filepath.endswith(gcc): |
|
|
if not filepath.endswith(gcc): |
|
|
continue |
|
|
continue |
|
|
|
|
|
# Use entire path to not rely on env PATH |
|
|
|
|
|
filepath = os.path.sep.join([pathdir, filepath]) |
|
|
# Cache the g++ path to no search always |
|
|
# Cache the g++ path to no search always |
|
|
if os.path.exists(ENV_BUILD_PATH): |
|
|
if os.path.exists(ENV_BUILD_PATH): |
|
|
blab('Caching g++ for current env') |
|
|
blab('Caching g++ for current env') |
|
|