. -O won't hurt, and it catches uninitialized vars.

This commit is contained in:
Emil Mikulic 2003-11-28 04:08:47 +00:00
parent 3e378caaf0
commit 01f231eaea

View File

@ -3,7 +3,7 @@ ALLWARNS = -Wall -Wshadow -Wpointer-arith -Wcast-qual \
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \ -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs -Wlong-long -Winline -Wredundant-decls -Wnested-externs -Wlong-long -Winline
CFLAGS = -pipe -ansi -pedantic -g $(ALLWARNS) CFLAGS = -O -pipe -ansi -pedantic -g $(ALLWARNS)
all: all:
gcc -o out $(CFLAGS) darkhttpd.c gcc -o out $(CFLAGS) darkhttpd.c