From 1eb1113a2444eddad1815900106ac50374303372 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 4 Jul 2017 10:41:34 +0200 Subject: [PATCH] Update Makefile --- Makefile.libretro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index 3a25aaa9..a553610e 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -114,14 +114,14 @@ LDFLAGS += $(LIBM) ifeq ($(DEBUG), 1) CXXFLAGS += -O0 -g else - CXXFLAGS += -O3 + CXXFLAGS += -O2 -DNDEBUG endif include Makefile.common OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_CXX:.cpp=.o) -CFLAGS += -Wall -D__LIBRETRO__ $(fpic) $(INCFLAGS) -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES -DNDEBUG +CFLAGS += -Wall -D__LIBRETRO__ $(fpic) $(INCFLAGS) -std=gnu11 -D_GNU_SOURCE -D_USE_MATH_DEFINES CXXFLAGS += -Wall -D__LIBRETRO__ $(fpic) all: $(TARGET)