File sunwait-no-rpm-opt-flags.patch of Package sunwait
diff --git makefile makefile index 7aa7484..91740c3 100755 --- makefile +++ makefile @@ -7,7 +7,7 @@ C=gcc -CFLAGS=-c -Wall +CFLAGS=-c -Wall $(RPM_OPT_FLAGS) LDFLAGS= -lm -lstdc++ SOURCES=sunwait.cpp sunriset.cpp print.cpp HEADERS=sunwait.h sunriset.h print.h @@ -15,7 +15,7 @@ OBJECTS=$(SOURCES:.cpp=.o) EXECUTABLE=sunwait all: $(SOURCES) $(EXECUTABLE) - + $(EXECUTABLE): $(OBJECTS) $(C) $(OBJECTS) -o $@ $(LDFLAGS) @@ -23,6 +23,6 @@ $(EXECUTABLE): $(OBJECTS) $(C) $(CFLAGS) $< -o $@ clean: - rm -f *.o sunwait + $(RM) *.o sunwait