Skip to content

Commit

Permalink
treewide: switch to thumb, use -Os
Browse files Browse the repository at this point in the history
Let's save some space! (well it's actually small enough that it
doesn't make a huge difference, but space is space)
  • Loading branch information
lifehackerhansol committed Sep 7, 2023
1 parent 7160f26 commit 9915d1e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions arm7/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ DATA :=
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
ARCH := -mthumb-interwork
ARCH := -mthumb -mthumb-interwork

CFLAGS := -g -Wall -O3\
CFLAGS := -g -Wall -Os\
$(ARCH) $(INCLUDE) -DARM7
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
ASFLAGS := -g $(ARCH)
Expand Down
4 changes: 2 additions & 2 deletions arm9/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ GRAPHICS :=
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
ARCH := -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s
ARCH := -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s

CFLAGS := -g -Wall -O3\
CFLAGS := -g -Wall -Os\
$(ARCH) $(INCLUDE) -DARM9 -D_NO_BOOTSTUB_
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
ASFLAGS := -g $(ARCH)
Expand Down
4 changes: 2 additions & 2 deletions arm9_crt0set/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ GRAPHICS :=
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
ARCH := -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s
ARCH := -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s

CFLAGS := -g -Wall -O3\
CFLAGS := -g -Wall -Os\
$(ARCH) $(INCLUDE) -DARM9 -D_NO_BOOTSTUB_
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
ASFLAGS := -g $(ARCH)
Expand Down
4 changes: 2 additions & 2 deletions arm9_r4ids.cn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ GRAPHICS :=
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
ARCH := -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s
ARCH := -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s

CFLAGS := -g -Wall -O3\
CFLAGS := -g -Wall -Os\
$(ARCH) $(INCLUDE) -DARM9 -D_NO_BOOTSTUB_
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
ASFLAGS := -g $(ARCH)
Expand Down

0 comments on commit 9915d1e

Please sign in to comment.