Skip to content

Commit

Permalink
treewide: add -ffreestanding to CFLAGS
Browse files Browse the repository at this point in the history
This should be added as we build with -nostdlib.
  • Loading branch information
lifehackerhansol committed Mar 16, 2024
1 parent a5d71ee commit 52d509c
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion source/ace3ds_sd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/ak2_sd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/ak2_sd/Makefile_singlewrite
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ARCH := -mthumb-interwork -DTARGET_HAS_BROKEN_CMD25

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/dsx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/ez5h/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/ez5n/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/g003/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/gmtf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/m3cf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/m3ds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/mati/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/mpcf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/mpsd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/ninjapassx9/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/nsd2v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/r4idsn_sd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/r4tfv3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += -DDLDI
Expand Down
2 changes: 1 addition & 1 deletion source/rpg_sd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -Os\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/scds3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/scdssdhc2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/sclt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion source/ttio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ endif

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down
2 changes: 1 addition & 1 deletion template/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARCH := -mthumb-interwork

CFLAGS := -g -Wall -O2\
-mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer\
-ffast-math \
-ffast-math -ffreestanding \
$(ARCH)

CFLAGS += $(INCLUDE) -DARM7 -fPIC
Expand Down

0 comments on commit 52d509c

Please sign in to comment.