summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-11 01:58:10 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-11 01:58:10 -0800
commit4c1c6f77962993b62a082bfd2d91bde671cdc329 (patch)
treee627bc6152fb1cd8646ed6f4fa4e6f39279c3a64 /mbld
parentc903ebab019372ce96c0122df1ab76f6a5db5f2e (diff)
downloadmc-4c1c6f77962993b62a082bfd2d91bde671cdc329.tar.gz
Recognize 'runtime=none' attribute correctly.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/build.myr4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbld/build.myr b/mbld/build.myr
index ad633e1..0b82a4a 100644
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -300,7 +300,9 @@ const linkbin = {dg, bin, srcfiles, ldscript, rt, incs, extlibs
;;
if rt.len != 0
- cmd = std.slpush(cmd, std.sldup(rt))
+ if !std.sleq(rt, "none")
+ cmd = std.slpush(cmd, std.sldup(rt))
+ ;;
else
cmd = std.slpush(cmd, std.sldup(opt_runtime))
;;