2020-06-21 19:52:55 +02:00
|
|
|
diff -u -r ../newsboat-2.16.1/Makefile ./Makefile
|
|
|
|
--- ../newsboat-2.16.1/Makefile 2019-06-26 17:55:21.000000000 +0000
|
|
|
|
+++ ./Makefile 2019-08-06 17:59:51.574712056 +0000
|
2019-08-06 23:05:33 +02:00
|
|
|
@@ -18,7 +18,7 @@
|
2017-12-27 00:48:46 +01:00
|
|
|
|
2017-10-15 00:36:54 +02:00
|
|
|
WARNFLAGS=-Werror -Wall -Wextra -Wunreachable-code
|
|
|
|
INCLUDES=-Iinclude -Istfl -Ifilter -I. -Irss
|
2018-03-30 22:56:21 +02:00
|
|
|
-BARE_CXXFLAGS=-std=c++11 -O2 -ggdb $(INCLUDES)
|
|
|
|
+BARE_CXXFLAGS=-std=c++11 -O2 $(INCLUDES)
|
2017-12-27 00:48:46 +01:00
|
|
|
LDFLAGS+=-L.
|
2017-10-15 00:36:54 +02:00
|
|
|
|
|
|
|
PACKAGE=newsboat
|
2020-06-21 19:52:55 +02:00
|
|
|
@@ -32,7 +32,7 @@
|
|
|
|
LDFLAGS+=-fprofile-arcs -ftest-coverage
|
|
|
|
endif
|
|
|
|
|
|
|
|
-CXXFLAGS:=$(BARE_CXXFLAGS) $(WARNFLAGS) $(DEFINES) $(CXXFLAGS)
|
|
|
|
+CXXFLAGS:=$(BARE_CXXFLAGS) $(WARNFLAGS) $(DEFINES) $(CXXFLAGS) $(CPPFLAGS)
|
|
|
|
CXXFLAGS_FOR_BUILD?=$(CXXFLAGS)
|
|
|
|
|
|
|
|
LIB_SOURCES:=$(shell cat mk/libboat.deps)
|
2019-08-06 23:05:33 +02:00
|
|
|
@@ -46,7 +46,7 @@
|
2017-12-27 00:48:46 +01:00
|
|
|
NEWSBOAT=newsboat
|
|
|
|
NEWSBOAT_SOURCES:=$(shell cat mk/newsboat.deps)
|
|
|
|
NEWSBOAT_OBJS:=$(patsubst %.cpp,%.o,$(NEWSBOAT_SOURCES))
|
2019-08-06 23:05:33 +02:00
|
|
|
-NEWSBOAT_LIBS=-lboat -lnewsboat -lfilter -lpthread -lrsspp -ldl
|
2020-06-21 19:52:55 +02:00
|
|
|
+NEWSBOAT_LIBS=-lboat -lnewsboat -lfilter -lrsspp -landroid-glob
|
2017-10-15 00:36:54 +02:00
|
|
|
|
|
|
|
RSSPPLIB_SOURCES=$(sort $(wildcard rss/*.cpp))
|
|
|
|
RSSPPLIB_OBJS=$(patsubst rss/%.cpp,rss/%.o,$(RSSPPLIB_SOURCES))
|
2019-08-06 23:05:33 +02:00
|
|
|
@@ -75,7 +75,7 @@
|
2017-12-27 00:48:46 +01:00
|
|
|
PODBOAT=podboat
|
|
|
|
PODBOAT_SOURCES:=$(shell cat mk/podboat.deps)
|
|
|
|
PODBOAT_OBJS:=$(patsubst %.cpp,%.o,$(PODBOAT_SOURCES))
|
2020-06-21 19:52:55 +02:00
|
|
|
-PODBOAT_LIBS=-lboat -lnewsboat -lpthread -ldl
|
|
|
|
+PODBOAT_LIBS=-lboat -lnewsboat -ldl
|
2017-10-15 00:36:54 +02:00
|
|
|
|
|
|
|
ifeq (, $(filter Linux GNU GNU/%, $(shell uname -s)))
|
2017-12-27 00:48:46 +01:00
|
|
|
NEWSBOAT_LIBS+=-liconv -lintl
|