1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/sysutils/upsmon/files/patch-aa
2000-04-29 20:12:39 +00:00

23 lines
517 B
Plaintext

--- 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