summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-03-01 19:55:35 +1300
committerOri Bernstein <ori@eigenstate.org>2016-05-08 17:20:44 +1200
commitbeccb9eedafdaf2b5938c27d01660c47860bce8a (patch)
tree25d54a59185f245a3d78257ba75078303eb8f1c1 /configure
parent9d757335b10d0796259a963f5700692190df42b3 (diff)
downloadmc-beccb9eedafdaf2b5938c27d01660c47860bce8a.tar.gz
Use correct linker command.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 195ea44..543a4e9 100755
--- a/configure
+++ b/configure
@@ -85,9 +85,7 @@ case $OS in
echo '#define Symprefix ""' >> config.h
echo '#define Defaultasm Gnugas' >> config.h
echo 'export SYS=openbsd' >> config.mk
- echo 'const Linkcmd = ["ld", "-static",' \
- '"-Bstatic", "-dynamic-linker", "/usr/libexec/ld.so"' \
- ',"-o"]' >> mbld/config.myr
+ echo 'const Linkcmd = ["ld", "-static", "-nopie", "-o"]' >> mbld/config.myr
echo 'const Sys = "OpenBSD"' >> mbld/config.myr
;;
*)