ref: beccb9eedafdaf2b5938c27d01660c47860bce8a
parent: 9d757335b10d0796259a963f5700692190df42b3
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Mar 1 14:55:35 EST 2016
Use correct linker command.
--- a/configure
+++ b/configure
@@ -85,9 +85,7 @@
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
;;
*)