void-packages/srcpkgs/sfeed_curses/patches/wl,--as-needed.patch

14 lines
269 B
Diff

diff --git Makefile Makefile
index 2e835ef..52f8947 100644
--- Makefile
+++ 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 $<