Move -z max-page-size from the target spec to the cookbook

This commit is contained in:
bjorn3 2023-12-12 18:15:25 +01:00
parent 2c516de4de
commit d163847ae7

View File

@ -15,6 +15,7 @@ cargo rustc \
-- \
-C soft-float \
-C link-arg=-T -Clink-arg="${COOKBOOK_SOURCE}/linkers/${ARCH}.ld" \
-C link-arg=-z -Clink-arg=max-page-size=0x1000 \
--emit link="${PWD}/kernel.all"
"${TARGET}-objcopy" \
--only-keep-debug \