[hackers] [st] Revert "fixed STLDFLAG order in broken st Makefile" || Hiltjo Posthuma
commit 274d46ace00003d1df718b974d17642cbce167d5
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Wed Sep 13 22:40:36 2017 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Wed Sep 13 22:40:36 2017 +0200
Revert "fixed STLDFLAG order in broken st Makefile"
This reverts commit 7f990328e4fec8dfaaad311cb8af2304b58c872e.
this was wrong as pointed out by k0ga:
"STLDFLAGS is about flags to the linker, for example -L
not about -l for that reason it must go before the object list".
diff --git a/Makefile b/Makefile
index c678ead..128ee9d 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) -o $_AT_ $(OBJ) $(STLDFLAGS)
+ $(CC) $(STLDFLAGS) -o $_AT_ $(OBJ)
clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz
Received on Wed Sep 13 2017 - 22:45:44 CEST
This archive was generated by hypermail 2.3.0
: Wed Sep 13 2017 - 22:48:26 CEST