--- Makefile.orig 2011-09-23 20:09:12 UTC +++ Makefile @@ -87,7 +87,6 @@ endif MATCH=false ifeq ($(MODE), release) outdir = bin/release/ - cflags += -O2 MATCH=true endif ifeq ($(MODE), debug) @@ -99,13 +98,13 @@ ifeq ($(MODE), debug) endif ifeq ($(MODE), shared) outdir = bin/shared/ - cflags += -O2 -fPIC + cflags += -fPIC library = libfrobby.so MATCH=true endif ifeq ($(MODE), profile) outdir = bin/profile/ - cflags += -g -pg -O2 -D PROFILE + cflags += -g -pg -D PROFILE ldflags += -pg MATCH=true benchArgs = _profile $(FROBBYARGS)