aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianhao Wang <shrik3@mailbox.org>2024-05-30 09:36:22 +0200
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:17:11 +0200
commit9cf85e88211512b0410f9bb9f2f19ea4ce9a8190 (patch)
treeb96a0f46d405ab2bbf9511d2db4c555735e99edd
parent3ade669fe91aadb4b27312925090cee82809ac16 (diff)
makefile: default to cargo debug build
we should define debug and release targets, but hardcoding in makefile for now. Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ae5e85..a3236c0 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ ASMOBJFORMAT = elf64
ASMFLAGS = -w-zeroing
LINKER_SCRIPT = ./defs/$(ARCH)-linker.ld
CARGO_XBUILD_TARGET = ./defs/$(ARCH)-rustubs.json
-CARGO_XBUILD_FLAGS = --release
+CARGO_XBUILD_FLAGS =
# ---------- No need to edit below this line --------------
# ---------- If you have to, something is wrong -----------
LDFLAGS = -no-warn-rwx-segment -static -e startup