summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlin Bingham <cb@viennan.net>2018-01-16 23:36:24 +1300
committerCarlin Bingham <cb@viennan.net>2018-01-17 00:20:15 +1300
commit152b881475d2c11fc183669d3d57ed6ac201ef0b (patch)
tree6568e85a03f455b4cdbfc6fd55266ef9b7975a5c
parentbc72f16e90932998ac4a404af25ce72efeada9a3 (diff)
downloadmc-152b881475d2c11fc183669d3d57ed6ac201ef0b.tar.gz
Remove implicit -static from OpenBSD linker cmd
-static is the default if no dynamic libraries are specified but it being implicitly set overrides dynamic linking if they are
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 088e8c2..ce2313b 100755
--- a/configure
+++ b/configure
@@ -84,7 +84,7 @@ case $OS in
echo 'export SYS=openbsd' >> config.mk
echo export INST_MAN=$prefix/man/man >> config.mk
echo 'const Sys = "OpenBSD"' >> mbld/config.myr
- echo 'const Linkcmd = ["ld", "-static", "-nopie"]' >> mbld/config.myr
+ echo 'const Linkcmd = ["ld", "-nopie"]' >> mbld/config.myr
echo "const Manpath = \"man/man\"" >> mbld/config.myr
;;
*)