shithub: mc

Download patch

ref: f0dd01e68f92fc10633bf6cb78de833b790550f2
parent: 0ffaabebcf294f1488a26f84c9f6ff3621d8319d
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Aug 26 22:34:06 EDT 2017

Set no objdir with `-b`.

	If I say build `binary b`, then build that binary.

--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -120,6 +120,7 @@
 		.incpath=bld.opt_incpaths,
 		.libdeps=[][:]
 	]
+	bld.opt_objdir = ""
 	std.slpush(&b.all, "__out__")
 	std.htput(b.targs, "__out__", `bld.Bin &mt)
 	bld.deps(b)