]> git.lizzy.rs Git - loadnothing.git/blobdiff - Makefile
Revert "cargo build without explicit target"
[loadnothing.git] / Makefile
index 4d3e41f65d52ae653e58748e25f2fbada4864e87..65f4596eaec4360589934840c9e97860d4bc2f2b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ magic.bin:
        echo -en "\x55\xAA" > magic.bin
 
 stage2/target/x86_64-unknown-none/debug/stage2:
-       cd stage2 && cargo build
+       cd stage2 && cargo build --target x86_64-unknown-none
 
 nothing.img: magic.bin stage1/boot.bin stage2/target/x86_64-unknown-none/debug/stage2
        dd if=/dev/zero of=nothing.img bs=2M count=1