mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +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],
|
AM_COND_IF([LTO],
|
||||||
[
|
[
|
||||||
lto="yes"
|
lto="yes"
|
||||||
CXXFLAGS+=" -flto"
|
CXXFLAGS+=" -flto=`nproc`"
|
||||||
], [
|
], [
|
||||||
lto="no"
|
lto="no"
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue