]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
easy-builder: use make directly because cmake on macOS does not return error code...
authorThomas Debesse <dev@illwieckz.net>
Mon, 8 Mar 2021 08:30:41 +0000 (09:30 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 8 Mar 2021 08:30:41 +0000 (09:30 +0100)
easy-builder

index 0f266902b90715ee0a8ad3c03cbabe1c57bd0b6b..2c71c35225395119f311b8e8b89478a121290938 100755 (executable)
@@ -111,19 +111,15 @@ task_configure () {
 }
 
 task_build_builtins () {
-       cmake \
-               --build "${build_dir}" \
-               -- \
-               -j"${job_count}" \
-               'builtins'
+       make -j"${job_count}" builtins
 }
 
 task_build () {
-       cmake \
-               --build "${build_dir}" \
-               -- \
-               -j"${job_count}" \
-               "${install_target}"
+       make -j"${job_count}"
+}
+
+task_install () {
+       make "${install_target}"
 }
 
 set -x
@@ -140,3 +136,5 @@ task_build_builtins
 #   ld: symbol(s) not found for architecture x86_64
 # and restarting the build process just work.
 task_build || task_build
+
+task_install