Skip to content
Snippets Groups Projects
Commit d944ee3f authored by deuce's avatar deuce
Browse files

Stop using ld directly... Linux hates me.

parent 98960baa
No related branches found
No related tags found
No related merge requests found
...@@ -248,28 +248,28 @@ FORCE$(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB) ...@@ -248,28 +248,28 @@ FORCE$(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB)
$(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB) $(FTPSRVR): $(LIBODIR)/ftpsrvr.o $(SBBSLIB)
@echo Linking $@ @echo Linking $@
@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@ @$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@
# Mail Server Link Rule # Mail Server Link Rule
FORCE$(MAILSRVR): $(MAIL_OBJS) $(LIBODIR)$(SLASH)$(SBBSLIB) FORCE$(MAILSRVR): $(MAIL_OBJS) $(LIBODIR)$(SLASH)$(SBBSLIB)
$(MAILSRVR): $(MAIL_OBJS) $(SBBSLIB) $(MAILSRVR): $(MAIL_OBJS) $(SBBSLIB)
@echo Linking $@ @echo Linking $@
@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@ @$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@
# Mail Server Link Rule # Mail Server Link Rule
FORCE$(WEBSRVR): $(WEB_OBJS) $(SBBSLIB) FORCE$(WEBSRVR): $(WEB_OBJS) $(SBBSLIB)
$(WEBSRVR): $(WEB_OBJS) $(SBBSLIB) $(WEBSRVR): $(WEB_OBJS) $(SBBSLIB)
@echo Linking $@ @echo Linking $@
@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@ @$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@
# Services Link Rule # Services Link Rule
FORCE$(SERVICES): $(WEB_OBJS) $(SBBSLIB) FORCE$(SERVICES): $(WEB_OBJS) $(SBBSLIB)
$(SERVICES): $(SERVICE_OBJS) $(SBBSLIB) $(SERVICES): $(SERVICE_OBJS) $(SBBSLIB)
@echo Linking $@ @echo Linking $@
@$(LD) $(SBBSLDFLAGS) -S $^ $(LIBS) -shared -o $@ @$(CC) $(LFLAGS) -S $^ $(LIBS) -shared -o $@
# Synchronet Console Build Rule # Synchronet Console Build Rule
FORCE$(SBBSCON): $(CON_OBJS) $(SBBSLIB) $(FTP_OBJS) $(MAIL_OBJS) $(WEB_OBJS) $(SERVICE_OBJS) FORCE$(SBBSCON): $(CON_OBJS) $(SBBSLIB) $(FTP_OBJS) $(MAIL_OBJS) $(WEB_OBJS) $(SERVICE_OBJS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment