Revert "Compile with opt-level 3, lto"

This reverts commit 68b3315673.
This commit is contained in:
Jeremy Soller 2017-01-09 21:51:41 -07:00
parent 68b3315673
commit e519d215d8
4 changed files with 4 additions and 16 deletions

View file

@ -1,6 +1,6 @@
$(KBUILD)/libcollections.rlib: rust/src/libcollections/Cargo.toml rust/src/libcollections/**
mkdir -p $(KBUILD)
$(KCARGO) rustc --manifest-path $< $(KCARGOFLAGS) -o $@
$(KCARGO) rustc --verbose --manifest-path $< $(KCARGOFLAGS) -o $@
cp rust/src/target/$(KTARGET)/release/deps/*.rlib $(KBUILD)
$(KBUILD)/libkernel.a: kernel/Cargo.toml kernel/arch/** kernel/src/** $(KBUILD)/libcollections.rlib $(BUILD)/initfs.rs