Use the gold linker by default
This makes linking much faster!
This commit is contained in:
parent
e82a11f803
commit
0008208818
@ -824,6 +824,9 @@ xzcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||
# TODO: resolve underlinked python modules
|
||||
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
|
||||
|
||||
# Use the gold linker
|
||||
export LDFLAGS="%{__global_ldflags} -fuse-ld=gold"
|
||||
|
||||
%configure \
|
||||
--enable-fhs \
|
||||
--with-piddir=/run \
|
||||
|
Loading…
Reference in New Issue
Block a user