aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ea28af..31de296 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,10 @@ OSOBJ = objstore.o alloc.o
OSPICOBJ = $(patsubst %.o,%.pic.o,$(OSOBJ))
CC = gcc
-CFLAGS = -Wall -O2 -g -D_FILE_OFFSET_BITS=64
+# This is a reasonable set of flags for production
+# CFLAGS = -Wall -O3 -fomit-frame-pointer -DNDEBUG -D_FILE_OFFSET_BITS=64
+# This is for debugging
+CFLAGS = -Wall -O -g -D_FILE_OFFSET_BITS=64
PICFLAGS = $(CFLAGS) -fPIC
SOFLAGS = -shared