From 89e580dfd612d216ec7f297a17b77c85a3053f69 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Thu, 15 Nov 2018 13:59:47 +0000 Subject: Static linking flag added to LDFLAGS, using special Bash script Until now, when a package was to be built statically, we were adding the `--static' option to `CFLAGS'. This was the wrong place to put it! It should be in the linking step (thus `LDFLAGS'). Also, based on Bash's configure script, we are now using the more generic form of `-static' (single dash, not double dash). On the other hand, the `--disable-shared' option isn't available in many of the packages and it is highly redundant with the `-static' option, so it has been removed to avoid an extra warning in such packages. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 4810656..ab098a7 100755 --- a/configure +++ b/configure @@ -421,7 +421,7 @@ NOTE: the built software will NOT BE INSTALLED on your system (no root access is required). They are only for local usage by this reproduction pipeline. They will be installed in: -$bdir/dependencies/installed + $bdir/dependencies/installed EOF sleep $tsec -- cgit v1.2.1