Skip to content
Snippets Groups Projects
Commit f5806079 authored by alice's avatar alice
Browse files

community/qemu: limit lto jobs to 4 instead of nproc

samurai doesn't implement make jobserver so auto is nproc*nproc of total jobs
parent 03dfd357
No related branches found
No related tags found
No related merge requests found
...@@ -305,7 +305,7 @@ _compile_common() { ...@@ -305,7 +305,7 @@ _compile_common() {
export CFLAGS="${CFLAGS/-Os/-O2}" export CFLAGS="${CFLAGS/-Os/-O2}"
;; ;;
*) *)
export CFLAGS="${CFLAGS/-Os/-O2} -flto=auto" export CFLAGS="${CFLAGS/-Os/-O2} -flto=4"
;; ;;
esac esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment