qtbase: let build use gold linker if it wants, maybe works now
This commit is contained in:
parent
e416d2f8b9
commit
5937a19a06
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user