mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 14:54:20 +08:00
Move debuginfo and LTO option to Cargo.toml
This commit is contained in:
parent
0e5e1eb00e
commit
b77cee379f
@ -14,8 +14,6 @@ cargo rustc \
|
||||
-Z build-std=core,alloc \
|
||||
-- \
|
||||
-C soft-float \
|
||||
-C debuginfo=2 \
|
||||
-C lto \
|
||||
--emit link="${PWD}/libkernel.a"
|
||||
"${TARGET}-ld" \
|
||||
--gc-sections \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user