From d944ee3f9a396248ce45233ad5b5ff2267bbed11 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Fri, 11 Jul 2003 19:59:09 +0000
Subject: [PATCH] Stop using ld directly... Linux hates me.

---
 src/sbbs3/GNUmakefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/sbbs3/GNUmakefile b/src/sbbs3/GNUmakefile
index 47088526ed..9d987f197f 100644
--- a/src/sbbs3/GNUmakefile
+++ b/src/sbbs3/GNUmakefile
@@ -248,28 +248,28 @@ FORCE$(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB)
 
 $(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB)
 	@echo Linking $@
-	@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@ 
+	@$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@ 
 
 # Mail Server Link Rule
 FORCE$(MAILSRVR): $(MAIL_OBJS) $(LIBODIR)$(SLASH)$(SBBSLIB)
 
 $(MAILSRVR): $(MAIL_OBJS) $(SBBSLIB)
 	@echo Linking $@
-	@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@
+	@$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@
 
 # Mail Server Link Rule
 FORCE$(WEBSRVR): $(WEB_OBJS) $(SBBSLIB)
 
 $(WEBSRVR): $(WEB_OBJS) $(SBBSLIB)
 	@echo Linking $@
-	@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@
+	@$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@
 
 # Services Link Rule
 FORCE$(SERVICES): $(WEB_OBJS) $(SBBSLIB)
 
 $(SERVICES): $(SERVICE_OBJS) $(SBBSLIB)
 	@echo Linking $@
-	@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@
+	@$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@
 
 # Synchronet Console Build Rule
 FORCE$(SBBSCON): $(CON_OBJS) $(SBBSLIB) $(FTP_OBJS) $(MAIL_OBJS) $(WEB_OBJS) $(SERVICE_OBJS)
-- 
GitLab