shithub: mc

Download patch

ref: 4c1c6f77962993b62a082bfd2d91bde671cdc329
parent: c903ebab019372ce96c0122df1ab76f6a5db5f2e
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jan 10 20:58:10 EST 2016

Recognize 'runtime=none' attribute correctly.

--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -300,7 +300,9 @@
 	;;
 
 	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))
 	;;