Skip to content

Commit ea71bdf

Browse files
committed
qmake MSYS2 disabled LLD linker override for g++
LLD isn't faster than bfd, I also did linking when bfd was faster than LLD. - also updated docs [skip ci]
1 parent efa0c4e commit ea71bdf

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

Diff for: .env.mingw.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Use alternative linker (for both GCC and Clang)
55
# CONFIG *= use_lld_linker does not work on MinGW
6-
QMAKE_LFLAGS *= -fuse-ld=lld
6+
#QMAKE_LFLAGS *= -fuse-ld=lld
77

88
# vcpkg - range-v3 and tabulate
99
TINY_VCPKG_ROOT = $$quote(C:/msys64/home/xyz/Code/vcpkg/)

Diff for: conf.pri.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ win32-g++|win32-clang-g++ {
105105

106106
# Use alternative linker (for both GCC and Clang)
107107
# CONFIG *= use_lld_linker does not work on MinGW
108-
QMAKE_LFLAGS *= -fuse-ld=lld
108+
# QMAKE_LFLAGS *= -fuse-ld=lld
109109

110110
# Nothing to do, auto-configuration is enabled
111111
!disable_autoconf: return()

Diff for: docs/building/hello-world.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ TINY_VCPKG_TRIPLET = x64-mingw-dynamic
609609
610610
# Use alternative linker (for both GCC and Clang)
611611
# CONFIG *= use_lld_linker does not work on MinGW
612-
QMAKE_LFLAGS *= -fuse-ld=lld
612+
#QMAKE_LFLAGS *= -fuse-ld=lld
613613
```
614614

615615
</TabItem>

Diff for: docs/building/migrations.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ TINY_VCPKG_TRIPLET = x64-mingw-dynamic
749749
750750
# Use alternative linker (for both GCC and Clang)
751751
# CONFIG *= use_lld_linker does not work on MinGW
752-
QMAKE_LFLAGS *= -fuse-ld=lld
752+
#QMAKE_LFLAGS *= -fuse-ld=lld
753753
```
754754

755755
</TabItem>

Diff for: drivers/conf.pri.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ win32-g++|win32-clang-g++ {
1313

1414
# Use alternative linker (for both GCC and Clang)
1515
# CONFIG *= use_lld_linker does not work on MinGW
16-
QMAKE_LFLAGS *= -fuse-ld=lld
16+
# QMAKE_LFLAGS *= -fuse-ld=lld
1717

1818
# Nothing to do, auto-configuration is enabled
1919
!disable_autoconf: return()

Diff for: examples/tom/conf.pri.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ win32-g++|win32-clang-g++ {
2626

2727
# Use alternative linker (for both GCC and Clang)
2828
# CONFIG *= use_lld_linker does not work on MinGW
29-
QMAKE_LFLAGS *= -fuse-ld=lld
29+
# QMAKE_LFLAGS *= -fuse-ld=lld
3030

3131
# Nothing to do, auto-configuration is enabled
3232
!disable_autoconf: return()

Diff for: tests/conf.pri.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ win32-g++|win32-clang-g++ {
1313

1414
# Use alternative linker (for both GCC and Clang)
1515
# CONFIG *= use_lld_linker does not work on MinGW
16-
QMAKE_LFLAGS *= -fuse-ld=lld
16+
# QMAKE_LFLAGS *= -fuse-ld=lld
1717

1818
# Nothing to do, auto-configuration is enabled
1919
!disable_autoconf: return()

Diff for: tests/testdata_tom/conf.pri.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ win32-g++|win32-clang-g++ {
1313

1414
# Use alternative linker (for both GCC and Clang)
1515
# CONFIG *= use_lld_linker does not work on MinGW
16-
QMAKE_LFLAGS *= -fuse-ld=lld
16+
# QMAKE_LFLAGS *= -fuse-ld=lld
1717

1818
# Nothing to do, auto-configuration is enabled
1919
!disable_autoconf: return()

0 commit comments

Comments
 (0)