File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -328,9 +328,8 @@ else ifeq ($(platform), sf2000)
328
328
MIPS: =/opt/mips32-mti-elf/2019.09-03-2/bin/mips-mti-elf-
329
329
CC = $(MIPS ) gcc
330
330
AR = $(MIPS ) ar
331
- CFLAGS = -EL -march=mips32 -mtune=mips32 -msoft-float -ffast-math -fomit-frame-pointer
332
- CFLAGS += -G0 -mno-abicalls -fno-pic
333
- CFLAGS += -ffunction-sections -fdata-sections
331
+ CFLAGS = -EL -march=mips32 -mtune=mips32 -msoft-float -G0 -mno-abicalls -fno-pic
332
+ CFLAGS += -ffast-math -fomit-frame-pointer -ffunction-sections -fdata-sections
334
333
CFLAGS += -DSF2000 -DDISABLE_ERROR_LOGGING
335
334
STATIC_LINKING = 1
336
335
@@ -536,8 +535,12 @@ endif
536
535
ifeq ($(DEBUG ) , 1)
537
536
CFLAGS += -O0 -g
538
537
else
538
+ ifeq ($(platform ) , sf2000)
539
+ CFLAGS += -O3 -DNDEBUG
540
+ else
539
541
CFLAGS += -O2 -DNDEBUG
540
542
endif
543
+ endif
541
544
542
545
# compiler, linker and utilities
543
546
RM = rm -f
You can’t perform that action at this time.
0 commit comments