$OpenBSD: patch-src_Makefile,v 1.3 2003/12/21 11:40:10 sturm Exp $
--- src/Makefile.orig	2003-12-16 08:53:06.000000000 -0800
+++ src/Makefile	2003-12-17 15:25:36.000000000 -0800
@@ -45,7 +45,7 @@ PKG_INCLUDE = `$(PKG_CONFIG) --cflags gt
 
 PKG_LIB = `$(PKG_CONFIG) --libs gtk+-2.0 gthread-2.0`
 
-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
+FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
 FLAGS+= $(PTHREAD_INC)
 
 LIBS = $(PKG_LIB) $(GTOP_LIBS) $(SMC_LIBS) $(SYS_LIBS) $(SSL_LIBS)
@@ -73,7 +73,7 @@ ifeq ($(HAVE_GETADDRINFO),1)
 endif
 
 
-override CC += -Wall $(FLAGS)
+CFLAGS += ${FLAGS}
 
 OBJS =	main.o alerts.o battery.o base64.o clock.o cpu.o disk.o fs.o \
 	hostname.o inet.o mail.o mem.o net.o proc.o sensors.o uptime.o \
