mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
0afe9d1f70
Always set `SRCTOP`, set it with abs path
llvmPackages: Bump minimum version for FreeBSD
llvmPackages_*, libgcc, compiler_rt: Hack in enough libs that one can compiler C
freebsd.compat: Rename some things to work around cc-wrapper change
0bea4a194f
/ #191724 in particular
7 lines
237 B
Bash
7 lines
237 B
Bash
# See pkgs/build-support/setup-hooks/role.bash
|
|
getHostRole
|
|
|
|
export NIX_LDFLAGS${role_post}+=" -legacy"
|
|
export NIX_CFLAGS_COMPILE${role_post}+=" -isystem @out@/0-include"
|
|
export NIX_CFLAGS_COMPILE${role_post}+=" -isystem @out@/1-include"
|