[hackers] [st] Revert "Revert "fixed STLDFLAG order in broken st Makefile"" || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Fri, 15 Sep 2017 11:19:47 +0200 (CEST)

commit b2ac91775302fa4b8ce462a6e7bcfffa93923471
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Fri Sep 15 11:16:37 2017 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Fri Sep 15 11:16:37 2017 +0200

    Revert "Revert "fixed STLDFLAG order in broken st Makefile""
    
    This reverts commit 274d46ace00003d1df718b974d17642cbce167d5.
    
    Sorry, the original commit was correct after all. It allows has the
    correct link order and supports static-linking also.
    
    Just a reminder: it is important to give a (brief) rationale of the
    patch intentions.

diff --git a/Makefile b/Makefile
index 128ee9d..c678ead 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -27,7 +27,7 @@ x.o: arg.h st.h win.h
 $(OBJ): config.h config.mk
 
 st: $(OBJ)
- $(CC) $(STLDFLAGS) -o $_AT_ $(OBJ)
+ $(CC) -o $_AT_ $(OBJ) $(STLDFLAGS)
 
 clean:
         rm -f st $(OBJ) st-$(VERSION).tar.gz
Received on Fri Sep 15 2017 - 11:19:47 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 15 2017 - 11:24:55 CEST