sfeed_curses

[fork] sfeed (atom feed) reader
Log | Files | Refs | README | LICENSE

commit 0a9c4460c15e90113607ff1928858dfa940df725
parent 2bfb783972ed195bed9a665eaf39a1da009774d7
Author: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date:   Mon, 21 Sep 2020 21:32:31 +0700

Makefile: fix build with gcc -Wl,--as-needed

gcc -Wl,--as-needed will search for symbols in libraries that was
specified after its usage. Current code base will complain for
unresolved symbol with -Wl,--as-needed which is common hardening flags.

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -37,7 +37,7 @@ OBJ = ${SRC:.c=.o} ${OBJ}: .o: - ${CC} ${SFEED_LDFLAGS} -o $@ $< + ${CC} -o $@ $< ${SFEED_LDFLAGS} .c.o: ${CC} ${SFEED_CFLAGS} ${SFEED_CPPFLAGS} -o $@ -c $<