Skip to content

Commit

Permalink
Converts is_clang to string.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommie committed Dec 26, 2023
1 parent eac1e6f commit 70e6993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def main():
build_path = os.path.join(deps_path, ".build", os_arch())
env = os.environ.copy()

is_debug = 'true' if args.debug else 'false'
is_clang = args.clang if args.clang is not None else args.os != "linux"
is_debug = str(bool(args.debug)).lower()
is_clang = str((args.clang if args.clang is not None else args.os != "linux").lower()
# symbol_level = 1 includes line number information
# symbol_level = 2 can be used for additional debug information, but it can increase the
# compiled library by an order of magnitude and further slow down compilation
Expand Down

0 comments on commit 70e6993

Please sign in to comment.