~colbyhub/pocket_dust

8a99667fca7db0bfb5fe55ad25b413a675adb181 — colbyhub 3 months ago 13fcfc8
Temporarily fix release builds

The strangest thing is happening. When using the -0z compilation flag,
the left mouse menu selection doesn't work, but the right mouse does.

To temporarily work around this issue, I'm using -O0 which leaves me
with a 8kb cart instead of a 5kb cart.

Fixes: https://todo.sr.ht/~colbyhub/pocket_dust-issues/27
1 files changed, 1 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +1 -1
@@ 17,7 17,7 @@ CFLAGS = -W -Wall -Wextra -Werror -Wno-unused -MMD -MP -fno-exceptions
ifeq ($(DEBUG), 1)
	CFLAGS += -DDEBUG -O0 -g
else
	CFLAGS += -DNDEBUG -Oz -flto
	CFLAGS += -DNDEBUG -O0 -flto # Optimizing with -0z breaks left-click menu selection
endif

# Linker flags