qt5: Disable gold linker on Linux as it generates duplicate symbols

Signed-off-by: adisbladis <adis@blad.is>
This commit is contained in:
Bastian Köcher 2017-10-18 12:08:20 +02:00 committed by adisbladis
parent 0d45be3d91
commit 7132cbd598
No known key found for this signature in database
GPG key ID: ED58F95069B004F5

View file

@ -252,6 +252,9 @@ stdenv.mkDerivation {
"-inotify"
"-system-libjpeg"
"-system-libpng"
# gold linker of binutils 2.28 generates duplicate symbols
# TODO: remove for newer version of binutils
"-no-use-gold-linker"
]
++ lib.optionals stdenv.isDarwin [