git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Fix build with LDFLAGS="-Wl,--as-needed"

From
LWLars Wendler <polynomial-c@gentoo.org>
Date
Dec 1, 2014, 09:33 UTC
Message-ID
<1417426409-7328-1-git-send-email-polynomial-c@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
---
 contrib/svn-fe/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/svn-fe/Makefile b/contrib/svn-fe/Makefile
index e8651aa..b90cf87 100644
--- a/contrib/svn-fe/Makefile
+++ b/contrib/svn-fe/Makefile
@@ -74,7 +74,7 @@ endif
 endif
 
 svn-fe$X: svn-fe.o $(VCSSVN_LIB) $(XDIFF_LIB) $(GIT_LIB)
-	$(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $(EXTLIBS) -o $@ svn-fe.o $(LIBS)
+	$(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ svn-fe.o $(LIBS) $(EXTLIBS)
 
 svn-fe.o: svn-fe.c ../../vcs-svn/svndump.h
 	$(QUIET_CC)$(CC) $(CFLAGS) -I../../vcs-svn -o $*.o -c $<
-- 
2.2.0
Next: Junio C Hamano
Message 1 of 2 in “Fix build with LDFLAGS="-Wl,--as-needed"”
  1. Fix build with LDFLAGS="-Wl,--as-needed"Lars Wendler, Dec 1, 2014
  2. Junio C HamanoDec 1, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.