--- Makefile.orig 2021-02-23 21:29:06 UTC +++ Makefile @@ -99,7 +99,6 @@ endif MATCH=false ifeq ($(MODE), release) outdir = bin/release/ - cxxflags += -O2 MATCH=true endif ifeq ($(MODE), debug) @@ -111,13 +110,13 @@ ifeq ($(MODE), debug) endif ifeq ($(MODE), shared) outdir = bin/shared/ - cxxflags += -O2 -fPIC + cxxflags += -fPIC library = libfrobby.so MATCH=true endif ifeq ($(MODE), profile) outdir = bin/profile/ - cxxflags += -g -pg -O2 -D PROFILE + cxxflags += -g -pg -D PROFILE ldflags += -pg MATCH=true benchArgs = _profile $(FROBBYARGS)