From 38f36798630c9c723953b357e830601e86f0eb90 Mon Sep 17 00:00:00 2001 From: PktSurf Date: Fri, 17 Mar 2023 12:18:31 +0530 Subject: [PATCH] Fixed linking flags to cause gawk and tar to link statically in base --- base/gawk/gawk.SMBuild | 1 - base/tar/tar.SMBuild | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/base/gawk/gawk.SMBuild b/base/gawk/gawk.SMBuild index 76ecf3e..55f8327 100755 --- a/base/gawk/gawk.SMBuild +++ b/base/gawk/gawk.SMBuild @@ -16,7 +16,6 @@ prepbuilddir() { } build() { - #CFLAGS+=" -static" \ LDFLAGS="-static" \ ./configure \ --prefix="" \ diff --git a/base/tar/tar.SMBuild b/base/tar/tar.SMBuild index c7e5c6e..ab0d700 100755 --- a/base/tar/tar.SMBuild +++ b/base/tar/tar.SMBuild @@ -19,7 +19,7 @@ prepbuilddir() { build() { FORCE_UNSAFE_CONFIGURE=1 \ - CFLAGS="$CFLAGS -static" \ + LDFLAGS="-static" \ ./configure \ --prefix="" \ --sbindir=/bin \