summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcook.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/cook.py b/cook.py
index c5f4688..801d928 100755
--- a/cook.py
+++ b/cook.py
@@ -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):