summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/freebsd/compat-setup-hook.sh
blob: 6c3fda4e95ac93d3de1f64de58453b901c537d4f (plain) (blame)
1
2
3
4
5
6
# 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"