aboutsummaryrefslogtreecommitdiff
path: root/core/musl/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-08 23:06:34 +0300
committerCem Keylan <cem@ckyln.com>2020-06-08 23:06:34 +0300
commitf37ca2658256f3c23ff21f47e74aa7cf3c323a52 (patch)
treeed418c603d00a95c2222f2db7f0fb894199c9ee3 /core/musl/build
parent4e6c18600653050dcf33e7b13acf9d2006ae9848 (diff)
downloadrepository-f37ca2658256f3c23ff21f47e74aa7cf3c323a52.tar.gz
musl: link getconf statically
Diffstat (limited to 'core/musl/build')
-rwxr-xr-xcore/musl/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/musl/build b/core/musl/build
index db545e27..e48ce47f 100755
--- a/core/musl/build
+++ b/core/musl/build
@@ -37,7 +37,7 @@ esac
kinstall_t 755 "$1/usr/include/sys" cdefs.h queue.h tree.h
# Install getconf.
-"${CC:=cc}" getconf.c -o "$1/usr/bin/getconf"
+"${CC:=cc}" --static getconf.c -o "$1/usr/bin/getconf"
case $sys_arch in i*86)
"$CC" -c __stack_chk_fail_local.c -o __stack_chk_fail_local.o