mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-11-05 01:16:23 +00:00
Use -flto=auto to speed up LTO compilation
Use all the CPU cores, because the default is n=1 🤦
Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
3d87e4d45f
commit
52c0a8f1c5
@ -13,7 +13,7 @@ ARG CURL_VER=8.0.1
|
||||
ARG OUTPUT=/output
|
||||
ARG DESTDIR=/prefix
|
||||
|
||||
ARG CFLAGS="-O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -flto"
|
||||
ARG CFLAGS="-O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -flto=auto"
|
||||
ARG LDFLAGS="$CFLAGS -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
Reference in New Issue
Block a user