mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
configure: Sample nproc
for -flto thread count.
This commit is contained in:
parent
37ddf9f8fb
commit
3d6dd0733f
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ CXXFLAGS+=" -O$optimize_level"
|
|||
AM_COND_IF([LTO],
|
||||
[
|
||||
lto="yes"
|
||||
CXXFLAGS+=" -flto"
|
||||
CXXFLAGS+=" -flto=`nproc`"
|
||||
], [
|
||||
lto="no"
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue