File sunwait-no-rpm-opt-flags.patch of Package sunwait

--- sunwait/makefile	2020-01-06 12:34:43.516253962 +0100
+++ sunwait/makefile	2020-01-06 13:07:41.381297590 +0100
@@ -6,7 +6,7 @@
 
 
 C=gcc
-CFLAGS=-c -Wall 
+CFLAGS=-c -Wall $(RPM_OPT_FLAGS)
 LDFLAGS= -lm -lstdc++
 SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h
 OBJECTS=$(SOURCES:.cpp=.o)
@@ -21,6 +21,6 @@
 	$(C) $(CFLAGS) $< -o $@
 
 clean:
-	rm *.o sunwait
+	$(RM) *.o sunwait
 
 
openSUSE Build Service is sponsored by