summaryrefslogtreecommitdiff
path: root/berry_fix
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 /berry_fix
parentbb5da949f22f0825fa2e75f63dc45a13572686ef (diff)
Reverted -nostdlib changes
Diffstat (limited to 'berry_fix')
-rw-r--r--berry_fix/Makefile4
-rw-r--r--berry_fix/payload/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/berry_fix/Makefile b/berry_fix/Makefile
index f14179176..0ead3804f 100644
--- a/berry_fix/Makefile
+++ b/berry_fix/Makefile
@@ -42,7 +42,7 @@ CPPFLAGS := -I ../tools/agbcc/include -I ../tools/agbcc -iquote include -nostdin
ROM := berry_fix.gba
OBJ_DIR := build
CC1 := ../tools/agbcc/bin/agbcc$(EXE)
-override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O2 -fhex-asm -nostdlib
+override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O2 -fhex-asm
ELF = $(ROM:.gba=.elf)
@@ -56,7 +56,7 @@ C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR)
ASM_BUILDDIR = $(OBJ_DIR)/$(ASM_SUBDIR)
DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR)
-ASFLAGS := -mcpu=arm7tdmi -mthumb-interwork
+ASFLAGS := -mcpu=arm7tdmi
LDFLAGS = -Map ../$(MAP)
diff --git a/berry_fix/payload/Makefile b/berry_fix/payload/Makefile
index e7315242f..a121fda93 100644
--- a/berry_fix/payload/Makefile
+++ b/berry_fix/payload/Makefile
@@ -52,7 +52,7 @@ C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR)
ASM_BUILDDIR = $(OBJ_DIR)/$(ASM_SUBDIR)
DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR)
-ASFLAGS := -mcpu=arm7tdmi -mthumb-interwork
+ASFLAGS := -mcpu=arm7tdmi
LDFLAGS = -Map ../$(MAP)