diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-03-01 19:55:35 +1300 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-05-08 17:20:44 +1200 |
commit | beccb9eedafdaf2b5938c27d01660c47860bce8a (patch) | |
tree | 25d54a59185f245a3d78257ba75078303eb8f1c1 /configure | |
parent | 9d757335b10d0796259a963f5700692190df42b3 (diff) | |
download | mc-beccb9eedafdaf2b5938c27d01660c47860bce8a.tar.gz |
Use correct linker command.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 ;; *) |