From 7081075d248b205db50cac6534e43298aa533ef5 Mon Sep 17 00:00:00 2001 From: jeefo Date: Tue, 13 Sep 2016 21:16:47 +0300 Subject: [PATCH] use -O2 for linux builds --- project/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/makefile b/project/makefile index b3e2877..5edc288 100644 --- a/project/makefile +++ b/project/makefile @@ -22,7 +22,7 @@ OBJECTS = $(SRC_DIR)/basecode.cpp \ $(SRC_DIR)/support.cpp \ $(SRC_DIR)/waypoint.cpp \ -C_OPT_FLAGS = -O3 -DNDEBUG=1 -fno-exceptions -fno-rtti -funroll-loops -fomit-frame-pointer -pipe -mtune=native +C_OPT_FLAGS = -O2 -DNDEBUG=1 -fno-exceptions -fno-rtti -funroll-loops -fomit-frame-pointer -pipe -mtune=native C_DEBUG_FLAGS = -D_DEBUG -DDEBUG -g -ggdb3 C_GCC4_FLAGS = -fvisibility=hidden CPP_GCC4_FLAGS = -fvisibility-inlines-hidden