path: root/6
diff options
authorOri Bernstein <ori@Oris-Mac-mini.local>2016-12-20 20:48:27 -0800
committerOri Bernstein <ori@Oris-Mac-mini.local>2016-12-20 20:48:27 -0800
commit28284f54c9ac36296ad3c820e779c24fcfc6f550 (patch)
treefb660c3d94646282cf4fd6cef72f5cf4fef8eeb2 /6
parenta7039f62015b0c17a38c8241107ac6d2518e586d (diff)
Fix warnings on OSX, refactor ./configure
By default, OSX builds for the current OS, but we tell it to link for 10.6 and up. This mismatch will sometimes cause warnings. This exports an environment variable in order to fix that annoyance, as well as cleaning up the way we pass round the flags to do it.
Diffstat (limited to '6')
1 files changed, 3 insertions, 0 deletions
diff --git a/6/main.c b/6/main.c
index 650812c..b3218d8 100644
--- a/6/main.c
+++ b/6/main.c
@@ -208,6 +208,9 @@ int main(int argc, char **argv)
+ /* Sysinit is arbitrary code defined by the configure script */
+ Sysinit;
lappend(&incpaths, &nincpaths, Instroot "/lib/myr");
if (ctx.nargs == 0) {