qtbase: let build use gold linker if it wants, maybe works now

This commit is contained in:
Will Dietz 2019-02-28 21:04:28 -06:00
parent e416d2f8b9
commit 5937a19a06

View file

@ -301,7 +301,6 @@ stdenv.mkDerivation {
then
[
"-platform macx-clang"
"-no-use-gold-linker"
"-no-fontconfig"
"-qt-freetype"
"-qt-libpng"
@ -329,9 +328,6 @@ stdenv.mkDerivation {
"-glib"
"-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.optional withGtk3 "-gtk"
++ lib.optional (compareVersion "5.9.0" >= 0) "-inotify"