summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-08 19:52:01 -0400
committerPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-08 19:54:58 -0400
commit6fb1d55c33059c90cfc3e590d1e67f7e50eb1c05 (patch)
tree319e5b685057226bc8ddda16764d71114cde4450 /Makefile
parentbb5da949f22f0825fa2e75f63dc45a13572686ef (diff)
Reverted -nostdlib changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 99a93718b..ca282d07e 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ OBJ_DIR := build/emerald
LIBPATH := -L ../../tools/agbcc/lib
else
CC1 = $(shell $(CC) --print-prog-name=cc1) -quiet
-override CFLAGS += -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast
+override CFLAGS += -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mcpu=arm7tdmi -fno-toplevel-reorder -Wno-pointer-to-int-cast
ROM := pokeemerald_modern.gba
OBJ_DIR := build/modern
LIBPATH := -L "$(dir $(shell $(CC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(CC) -mthumb -print-file-name=libc.a))"