http://code.google.com/p/canopy-httpd/source/detail?r=1110
Modified:
/trunk/src/sbin/Makefile.inc
/trunk/src/sbin/httpd/Makefile
=======================================
--- /trunk/src/sbin/Makefile.inc Wed Apr 14 14:35:08 2010
+++ /trunk/src/sbin/Makefile.inc Sun Dec 5 13:37:55 2010
@@ -10,6 +10,13 @@
CFLAGS+= -I../../include -I../../lib -I..
+CFLAGS+= -Wall
+CFLAGS+= -Werror
+CFLAGS+= -Wmissing-prototypes
+CFLAGS+= -Wformat
+CFLAGS+= -Wsign-compare
+
+
.if ${OS} == "Linux"
CFLAGS+= -D_ISOC99_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
=======================================
--- /trunk/src/sbin/httpd/Makefile Sun Apr 25 14:53:59 2010
+++ /trunk/src/sbin/httpd/Makefile Sun Dec 5 13:37:55 2010
@@ -22,13 +22,11 @@
CFLAGS+= -DETCDIR="\"${ETCDIR}\""
CFLAGS+= -DOS="\"${OS}\"" -DMACHINE_ARCH="\"${MACHINE_ARCH}\""
-CFLAGS+= -g -ggdb -Wall
+CFLAGS+= -g -ggdb
# Warnings
-CFLAGS+= -Wmissing-prototypes -Wformat
-CFLAGS+= -Wsign-compare
#CFLAGS+= -Wuninitialized
-CFLAGS+= -Werror
+
LDFLAGS+= -Wl,-E
LDFLAGS+= -lpthread