Skip to content

Commit

Permalink
OPTFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
hensldm committed Aug 21, 2024
1 parent bc3c716 commit 6364a2e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion makefiles/modern_gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ CPPFLAGS = -DMODERN_CC -D_MIPS_SZLONG=32 -D__USE_ISOC99 $(GBIDEFINE) $(VERSION_D
IINC = -I . -I $(WORKING_DIR)/include -I $(WORKING_DIR)/include/modern_gcc -I $(WORKING_DIR)/include/PR
MIPS_VERSION := -mips3
ASOPTFLAGS :=
OPTFLAGS := -Os -ffast-math -fno-unsafe-math-optimizations

ifeq ($(findstring _d,$(TARGET)),_d)
OPTFLAGS := -Og -ggdb3 -ffast-math -fno-unsafe-math-optimizations
else
OPTFLAGS := -Os -ggdb3 -ffast-math -fno-unsafe-math-optimizations
endif

0 comments on commit 6364a2e

Please sign in to comment.