0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

configure: Sample nproc for -flto thread count.

This commit is contained in:
Jason Volk 2019-04-09 16:06:17 -07:00
parent 37ddf9f8fb
commit 3d6dd0733f

View file

@ -440,7 +440,7 @@ CXXFLAGS+=" -O$optimize_level"
AM_COND_IF([LTO],
[
lto="yes"
CXXFLAGS+=" -flto"
CXXFLAGS+=" -flto=`nproc`"
], [
lto="no"
])