diff options
author | H. Peter Anvin <hpa@zytor.com> | 2001-10-16 00:23:58 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2001-10-16 00:23:58 +0000 |
commit | 5600c4f20304d1a6c5f763a0c86f1a95f7bac47d (patch) | |
tree | cf7f8e26ddea55cf58fb1c7d5dd3572b311bfabd /Makefile | |
parent | e1762ed1c23b53b26e6841f4bba1a5688e98a2dd (diff) | |
download | lpsm-5600c4f20304d1a6c5f763a0c86f1a95f7bac47d.tar.gz lpsm-5600c4f20304d1a6c5f763a0c86f1a95f7bac47d.tar.xz lpsm-5600c4f20304d1a6c5f763a0c86f1a95f7bac47d.zip |
Set up different flags for debugging and production; change an
assert(0); to abort(); so it works for production as well.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |