Skip to content

Commit 040cbe0

Browse files
Merge pull request #17698 from pstef/Makefile.ctr-debug
2 parents c2ffa04 + b8a3406 commit 040cbe0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile.ctr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ LIBDIRS := -L. -L$(CTRULIB)/lib
154154
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -marm -mfpu=vfp -mtp=soft
155155

156156
CFLAGS += -mword-relocations \
157-
-fomit-frame-pointer -ffast-math \
157+
-ffast-math \
158158
-Werror=implicit-function-declaration \
159159
$(ARCH)
160160

@@ -168,7 +168,7 @@ endif
168168
ifeq ($(DEBUG), 1)
169169
CFLAGS += -O0 -g
170170
else
171-
CFLAGS += -O3
171+
CFLAGS += -fomit-frame-pointer -O3
172172
endif
173173

174174
ifeq ($(CONSOLE_LOG), 1)

0 commit comments

Comments
 (0)