summaryrefslogblamecommitdiff
path: root/sysutils/upsmon/files/patch-aa
blob: 8100fda38c1703cb296402a053dcd6525b7a74a0 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                

                                          

                                       
         

                                    
         




                         
                          

                           
                            


                         
--- makefile.bsdi.orig	Tue Aug  4 23:18:38 1998
+++ makefile.bsdi	Wed Aug 20 23:55:50 2003
@@ -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 = g++
+CFLAGS_DEBUG = -DDEBUG
+CFLAGS_NODEBUG = 
 
 .ifdef DEBUG
-CFLAGS = $(CFLAGS_DEBUG)
+CFLAGS += $(CFLAGS_DEBUG)
 .else
-CFLAGS = $(CFLAGS_NODEBUG)
+CFLAGS += $(CFLAGS_NODEBUG)
 .endif
 
 UPSMOND_TARGET = upsmond