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
12 lines
338 B
Bash
12 lines
338 B
Bash
setFreeBSDSrcTop() {
|
|
makeFlags="SRCTOP=$BSDSRCDIR $makeFlags"
|
|
}
|
|
|
|
addFreeBSDMakeFlags() {
|
|
makeFlags="SBINDIR=${!outputBin}/bin $makeFlags"
|
|
makeFlags="LIBEXECDIR=${!outputLib}/libexec $makeFlags"
|
|
makeFlags="INCLUDEDIR=${!outputDev}/include $makeFlags"
|
|
}
|
|
|
|
postUnpackHooks+=(setFreeBSDSrcTop)
|
|
preConfigureHooks+=(addFreeBSDMakeFlags)
|