[canopy-httpd] r1110 committed - move some of the gcc flags to the base include file so they apply to a...

0 views
Skip to first unread message

codesite...@google.com

unread,
Dec 5, 2010, 4:38:37 PM12/5/10
to canopy-s...@googlegroups.com
Revision: 1110
Author: phrakt
Date: Sun Dec 5 13:37:55 2010
Log: move some of the gcc flags to the base include file so they apply to
all
directories in sbin/

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

Reply all
Reply to author
Forward
0 new messages