mirror of
https://github.com/ziglang/zig.git
synced 2024-11-22 04:10:13 +00:00
clang works fine
parent
868df1ad87
commit
8037cc3ee5
@ -72,7 +72,7 @@ If using macOS, you may need to include the following to properly use nix's clan
|
||||
|
||||
```nix
|
||||
shellHook = with pkgs.llvmPackages_13; ''
|
||||
export CPATH="${libcxx.dev}" # Use libcxx's stdlib
|
||||
export CPATH="${clang}" # Use libcxx's stdlib
|
||||
export LDFLAGS="-stdlib=libc++ -lc++abi" # Link against the stdlib
|
||||
'';
|
||||
```
|
Loading…
Reference in New Issue
Block a user