summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Chambers <andrewchamberss@gmail.com>2016-01-16 13:35:11 +1300
committerOri Bernstein <ori@eigenstate.org>2016-05-08 17:20:43 +1200
commit79c93065bf8467896e078459a91e36dc66ddaaeb (patch)
tree029fdf5f2761fc8a82c112d8bde84d9212cb287e /configure
parentb332e98485d1c22cb93f3302b83ead9e004d5160 (diff)
downloadmc-79c93065bf8467896e078459a91e36dc66ddaaeb.tar.gz
Add initial openbsd skeleton
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 5750599..0de8817 100755
--- a/configure
+++ b/configure
@@ -81,6 +81,13 @@ case $OS in
echo 'const Linkcmd = ["ld", "-o"]' >> mbld/config.myr
echo 'const Sys = "FreeBSD"' >> mbld/config.myr
;;
+ *OpenBSD*)
+ echo '#define Symprefix ""' >> config.h
+ echo '#define Defaultasm Gnugas' >> config.h
+ echo 'export SYS=openbsd' >> config.mk
+ echo 'const Linkcmd = ["ld", "-static", "-o"]' >> mbld/config.myr
+ echo 'const Sys = "OpenBSD"' >> mbld/config.myr
+ ;;
*)
echo ''
echo '********************************'