Skip to content

Commit

Permalink
Revert "config: require -d:zig to build with zig cc"
Browse files Browse the repository at this point in the history
But consider this later.
  • Loading branch information
ee7 committed Oct 25, 2022
1 parent 0ab4a12 commit de53946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if defined(release):
switch("passL", "-static")

if defined(linux):
if defined(zig) and findExe("zigcc").len > 0 and defined(amd64):
if findExe("zigcc").len > 0 and defined(amd64):
switch("cc", "clang")
# We can't write `zig cc` below, because the value cannot contain a space.
switch("clang.exe", "zigcc")
Expand Down

0 comments on commit de53946

Please sign in to comment.