File iptraf-3.0.0-support.patch of Package iptraf

--- support/Makefile
+++ support/Makefile
@@ -2,7 +2,7 @@
 
 OBJS			= input.o menurt.o listbox.o winops.o labels.o \
 				msgboxes.o txbox.o
-
+CFLAGS		= -Wall $(RPM_OPT_FLAGS)
 all: libtextbox.a
 
 libtextbox.a: $(OBJS)
@@ -12,7 +12,7 @@
 #	gcc -shared -o libtextbox.so $(OBJS)
 
 %.o: %.c *.h
-	gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
+	gcc -O2 $(CFLAGS) -fPIC $(INCLUDEDIR) -c -o $*.o $<
 
 clean:
 	rm -rf *.o *~ libtextbox.a libtextbox.so
openSUSE Build Service is sponsored by