Explorar el Código

build: Turn off optimization

Ole hace 10 años
padre
commit
e9542049bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -23,7 +23,7 @@ LUA_LIBNAME     = lua
 
 # Compiler
 CXX             ?= clang++
-USECXXFLAGS     += $(CXXFLAGS) -std=c++14 -O2 -g -DDEBUG -fmessage-length=0 -Wall -Wextra \
+USECXXFLAGS     += $(CXXFLAGS) -std=c++14 -O0 -g -DDEBUG -fmessage-length=0 -Wall -Wextra \
                    -pedantic -D_GLIBCXX_USE_C99 -Ilib -I$(LUA_INCDIR) -Ideps/catch/include
 USELDFLAGS      += $(LDFLAGS) -L$(LUA_LIBDIR)
 USELDLIBS       += $(LDLIBS) -lm -l$(LUA_LIBNAME) -ldl