build.sh: Add a compile option to compile only.

Invoking ``gmake`` only should work, but it uses g++ on OpenBSD instead of clang++. We should fix this.
freebsd-work
Doug Coleman 2019-02-09 18:48:42 +00:00
parent c6c2377072
commit 960ff85d31
1 changed files with 2 additions and 1 deletions

View File

@ -700,7 +700,7 @@ install_deps_dnf() {
}
install_deps_pkg() {
sudo pkg install --yes git gcc rlwrap ripgrep curl gmake
sudo pkg install --yes git gcc rlwrap ripgrep curl gmake x11-toolkits/gtk30 x11-toolkits/gtkglext pango cairo
}
@ -762,6 +762,7 @@ case "$1" in
quick-update) update; refresh_image ;;
update) update; download_and_bootstrap ;;
latest) update; download_and_bootstrap ;;
compile) find_build_info; make_factor ;;
bootstrap) get_config_info; bootstrap ;;
net-bootstrap) net_bootstrap_no_pull ;;
make-target) FIND_MAKE_TARGET=true; ECHO=false; find_build_info; exit_script ;;