diff options
author | Ori Bernstein <ori@markovcorp.com> | 2018-01-27 12:22:19 -0800 |
---|---|---|
committer | Ori Bernstein <ori@markovcorp.com> | 2018-01-27 12:23:36 -0800 |
commit | 4c94aae21c2c2aec19d4fd5871cfe92bc09303a7 (patch) | |
tree | b7c773a2274cb3b3ee46d9e90d54a3b6c4ddce37 /mbld | |
parent | dbe9ae0f9dbed30d40952261384b4673766d83ca (diff) | |
download | mc-4c94aae21c2c2aec19d4fd5871cfe92bc09303a7.tar.gz |
Remove std.sleq
We have std.eq. We still export a generic sleq for
compatibility, but we don't need it or want it.
Diffstat (limited to 'mbld')
-rw-r--r-- | mbld/deps.myr | 4 | ||||
-rw-r--r-- | mbld/main.myr | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr index cae46b1..51bddb0 100644 --- a/mbld/deps.myr +++ b/mbld/deps.myr @@ -443,7 +443,7 @@ const linkcmd = {b, n, mt, bin, libs, dynlibs, istest std.slpush(&n.cmd, std.sldup(mt.ldscript)) ;; - if mt.runtime.len == 0 || std.sleq(mt.runtime, "none") + if mt.runtime.len == 0 || std.eq(mt.runtime, "none") std.slpush(&n.cmd, std.sldup(opt_runtime)) else std.slpush(&n.cmd, std.sldup(mt.runtime)) @@ -465,7 +465,7 @@ const linkcmd = {b, n, mt, bin, libs, dynlibs, istest ;; /* OSX warns if we don't add a version */ - if std.sleq(opt_sys, "osx") + if std.eq(opt_sys, "osx") std.slpush(&n.cmd, std.sldup("-macosx_version_min")) std.slpush(&n.cmd, std.sldup("10.6")) ;; diff --git a/mbld/main.myr b/mbld/main.myr index 3362d3a..ecd2b40 100644 --- a/mbld/main.myr +++ b/mbld/main.myr @@ -158,14 +158,14 @@ const findproj = {b var dir dir = std.getcwd() - while dir.len > 0 && !std.sleq(dir, "/") + while dir.len > 0 && !std.eq(dir, "/") if std.chdir(dir) && std.fexists("bld.proj") b.basedir = dir break ;; dir = std.dirname(dir) ;; - if dir.len > 0 && std.sleq(b.basedir, "/") + if dir.len > 0 && std.eq(b.basedir, "/") std.fatal("could not find bld.proj\n") ;; } |