aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-13 21:16:02 -0700
committerMichael Forney <mforney@mforney.org>2019-05-13 21:16:02 -0700
commit5e7d36dd4ca41e5d3cae1e0025badbc72adfc516 (patch)
tree0a9479835f77dab87d16ea5d68c2a15ee1aa7502
parent5485302b9578f94bded1f4995707ac1792b299af (diff)
Add initial support for OpenBSD in configure
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 378e2e6..1b9a010 100755
--- a/configure
+++ b/configure
@@ -115,6 +115,13 @@ case "$target" in
"-Wno-builtin-macro-redefined",
'
;;
+*-*openbsd*)
+ : ${DEFAULT_DYNAMIC_LINKER:=/usr/libexec/ld.so}
+ startfiles='"-l", ":crt0.o", "-l", ":crtbegin.o"'
+ endfiles='"-l", "c", "-l", ":crtend.o"'
+ linkflags='"-L", "/usr/lib"'
+ defines=''
+ ;;
*)
fail "unknown target '$target', please create config.h manually"
esac