commit ab043e97c3808707c05cc899db255675c8b2fc02
parent c47fb633b0523366f23d1d6174ceef0b706f3b8a
Author: Eyal Sawady <ecs@d2evs.net>
Date: Mon, 11 Jan 2021 08:34:23 -0500
config.sh: save $LDFLAGS
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.sh b/config.sh
@@ -4,6 +4,7 @@ AR=${AR:-ar}
AS=${AS:-as}
CC=${CC:-cc}
CFLAGS=${CFLAGS:-}
+LDFLAGS=${LDFLAGS:-}
LD=${LD:-ld}
QBE=${QBE:-qbe}
SCDOC=${SCDOC:-scdoc}
@@ -165,6 +166,7 @@ run_configure() {
CFLAGS+=-DLIBDIR='"\$(LIBDIR)"'
CFLAGS+=-DVARLIBDIR='"\$(VARLIBDIR)"'
CFLAGS+=-DSYSCONFDIR='"\$(SYSCONFDIR)"'
+ LDFLAGS=${LDFLAGS}
all: ${all}
EOF