Skip to content

Commit

Permalink
Fixes is_clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommie committed Dec 26, 2023
1 parent 67b73b0 commit eac1e6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deps/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
v8_path = os.path.join(deps_path, "v8")
tools_path = os.path.join(deps_path, "depot_tools")
is_windows = platform.system().lower() == "windows"
is_clang = args.clang if args.clang is not None else args.os != "linux"

def get_custom_deps():
# These deps are unnecessary for building.
Expand Down Expand Up @@ -140,7 +139,7 @@ def main():
env = os.environ.copy()

is_debug = 'true' if args.debug else 'false'
is_clang = 'true' if args.clang else 'false'
is_clang = args.clang if args.clang is not None else args.os != "linux"
# 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 eac1e6f

Please sign in to comment.