]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.child: revert builder change for mac32/64.
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 11 Dec 2017 23:30:42 +0000 (17:30 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 11 Dec 2017 23:30:42 +0000 (17:30 -0600)
extra/mason/child/child.factor

index ed251bb4dc5887188e14e84a15ca20ef2131122f..e4545a640bc8c80903fe21e2be772964443a6ad8 100644 (file)
@@ -7,9 +7,15 @@ mason.notify mason.platform mason.report math.parser namespaces
 quotations sequences splitting system system-info ;
 IN: mason.child
 
+: gnu-make-cmd ( -- args )
+    gnu-make
+    target-os get name>> target-cpu get name>> (platform)
+    2array ;
+
 HOOK: compile-factor-command os ( -- array )
 M: unix compile-factor-command ( -- array )
-    { "make" "-j" } cpus number>string suffix ;
+    gnu-make-cmd ;
+
 ! Windows has separate 32/64 bit shells, so assuming the cell bits here is fine
 ! because it won't find the right toolchain otherwise.
 M: windows compile-factor-command ( -- array )