summaryrefslogtreecommitdiff
path: root/cad/linuxcnc-devel/files/patch-src_hal_utils_halcompile.g
blob: ead61d9a62a2a0407250158d08bf420b4ccf6b49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/hal/utils/halcompile.g.orig	2016-06-25 02:19:12 UTC
+++ src/hal/utils/halcompile.g
@@ -709,7 +709,7 @@ def build_usr(tempdir, filename, mode, o
         options.get("extra_link_args", ""))
     print >>f, "include %s" % find_modinc()
     f.close()
-    result = os.system("cd %s && make -S %s" % (tempdir, binname))
+    result = os.system("cd %s && gmake -S %s" % (tempdir, binname))
     if result != 0:
         raise SystemExit, os.WEXITSTATUS(result) or 1
     output = os.path.join(tempdir, binname)
@@ -731,7 +731,7 @@ def build_rt(tempdir, filename, mode, or
         target = "modules install"
     else:
         target = "modules"
-    result = os.system("cd %s && make -S %s" % (tempdir, target))
+    result = os.system("cd %s && gmake -S %s" % (tempdir, target))
     if result != 0:
         raise SystemExit, os.WEXITSTATUS(result) or 1
     if mode == COMPILE: