- 
    Bug 
- 
    Resolution: Duplicate
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    6.0.0 Beta4
- 
    None
- 
    $ lsb_release -d
 Description: openSUSE Leap 15.2
 $ uname -a
 Linux localhost.localdomain 5.3.18-lp152.47-default #1 SMP Thu Oct 15 16:05:25 UTC 2020 (41f7396) x86_64 x86_64 x86_64 GNU/Linux
Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.
The -ltcg (Link Time Code Generation) configure option seems to have stopped working in the cmake based version of configure.
$ git clone git://code.qt.io/qt/qt5.git
...
$ cd qt5
$ git checkout v6.0.0-beta3
$ perl init-repository -f
...
$ ./configure -opensource -developer-build -confirm-license -ltcg
...
  Using LTCG ............................. yes
...
$ git checkout dev
...
$ git reflog
43291fd1 (HEAD -> dev, origin/dev, origin/HEAD) HEAD@{0}: clone: from git://code.qt.io/qt/qt5.git
$ perl init-repository -f
...
$ ./configure -opensource -developer-build -confirm-license -ltcg
...
  Using LTCG ............................. no
...
$ 
- duplicates
- 
                    QTBUG-87874 Can't enable LTCG for cmake builds -         
- Closed
 
-