mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-04 15:13:58 +01:00
release.sh: Pass ARCH_FLAGS when setting VMSIZE
The default VM size may depend on the architecture. In particular, it is currently larged on riscv64 due to a toolchain issue which results in bloated binaries. MFC after: 3 days Fixes:59c21ed6e8
"release: Bump default VM size for riscv64 to 6 GB" Sponsored by: Amazon (cherry picked from commited807f7bca
)
This commit is contained in:
parent
277ed435d4
commit
024b595495
@ -335,7 +335,7 @@ chroot_build_release() {
|
||||
fi
|
||||
if [ -z "${VMSIZE}" ]; then
|
||||
VMSIZE="$(eval chroot ${CHROOTDIR} \
|
||||
make -C /usr/src/release -V VMSIZE)"
|
||||
make -C /usr/src/release ${ARCH_FLAGS} -V VMSIZE)"
|
||||
fi
|
||||
RELEASE_RMAKEFLAGS="${RELEASE_RMAKEFLAGS} \
|
||||
VMFORMATS=\"${VMFORMATS}\" VMSIZE=${VMSIZE}"
|
||||
|
Loading…
Reference in New Issue
Block a user