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