diff options
| author | Alejandro Sior <aho@sior.be> | 2022-08-06 12:10:52 +0200 |
|---|---|---|
| committer | Alejandro Sior <aho@sior.be> | 2022-08-06 12:10:52 +0200 |
| commit | 67df19f642d56a05f9a5ef7154e8c358a184ae40 (patch) | |
| tree | eaa1dc1e13b78021cdec556a82a5672654f1758a /cook.py | |
| parent | 9ed173f524d657559ef27dde0a28eae72c3364bd (diff) | |
cook: more concise globals
Diffstat (limited to 'cook.py')
| -rwxr-xr-x | cook.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,6 +1,5 @@ #!/usr/bin/python -from logging import error import os from pathlib import Path from threading import local @@ -332,10 +331,7 @@ def CToolchain(name="system", suffix="", c_args=[], ld_args=[]): raise Exception("No C toolchain found on system") -global cc -global exe -global lib -global shlib +global cc, exe, lib, shlib cc, exe, lib, shlib = CToolchain("clang") def find_one(names): |
