1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/sysutils/upsmon/files/patch-aa

23 lines
517 B
Plaintext
Raw Normal View History

--- makefile.bsdi.orig Tue Aug 4 14:18:38 1998
+++ makefile.bsdi Sat Apr 29 13:11:52 2000
@@ -32,14 +32,14 @@
.SUFFIXES: #clear list of suffixes
.SUFFIXES: .cc .o #rules for .c and .o
-CC = gcc
-CFLAGS_DEBUG = -O2 -Wall -DDEBUG -g
-CFLAGS_NODEBUG = -O2 -Wall -g
+#CC = gcc
+CFLAGS_DEBUG = -DDEBUG
+CFLAGS_NODEBUG =
.ifdef DEBUG
-CFLAGS = $(CFLAGS_DEBUG)
+CFLAGS += $(CFLAGS_DEBUG) -pedantic
.else
-CFLAGS = $(CFLAGS_NODEBUG)
+CFLAGS += $(CFLAGS_NODEBUG) -pedantic
.endif
UPSMOND_TARGET = upsmond