ref: e76db7d9761db34692ea8365f4e10055bc42bd97
parent: 026883187f7ab4fd337ebd4d82a0a8b2797129c1
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Aug 31 03:46:45 EDT 2018
Add SYSLDFLAGS We have SYSCFLAGS so having SYSLDFLAGS makes sense.
--- a/config.mk
+++ b/config.mk
@@ -20,9 +20,11 @@
### Systems
# Plan9
#SYSCFLAGS = -D_SUSV2_SOURCE
+#SYSLDCFLAGS =
#STDCFLAGS =
###
# BSD
#SYSCFLAGS =
+#SYSLDCFLAGS =
#STDCFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
###
--- a/rules.mk
+++ b/rules.mk
@@ -12,7 +12,7 @@
SCC_CFLAGS = $(MORECFLAGS) $(SYSCFLAGS) $(STDCFLAGS) -g $(CFLAGS)
-SCC_LDFLAGS = $(MORELFLAGS) -L$(LIBDIR) -g $(LDFLAGS)
+SCC_LDFLAGS = $(MORELFLAGS) $(SYSLDFLAGS) -L$(LIBDIR) -g $(LDFLAGS)
# helper macro to run over all the directories
FORALL = +@set -e ;\