File newsbeuter-makefile.patch of Package newsboat

Index: newsboat-2.29/Makefile
===================================================================
--- newsboat-2.29.orig/Makefile
+++ newsboat-2.29/Makefile
@@ -25,7 +25,7 @@ DEFINES=-DLOCALEDIR='"$(localedir)"'
 WARNFLAGS=-Werror -Wall -Wextra -Wunreachable-code
 INCLUDES=-Iinclude -Istfl -Ifilter -I. -Irss -I$(CARGO_TARGET_DIR)/cxxbridge/
 # Keep in sync with c++ version specified in FFI build.rs
-BARE_CXXFLAGS=-std=c++14 -O2 -ggdb $(INCLUDES)
+BARE_CXXFLAGS=-std=c++14 $(OPTFLAGS) $(INCLUDES)
 LDFLAGS+=-L.
 
 # Constants
openSUSE Build Service is sponsored by