Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-9777

Enable gcc's -flto option through configure when -ltcg is given as a configure option

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.0
    • None
    • Build System
    • None
    • Windows cmd with mingw(-w32/w64)

    • 1bd27f24fb7f7d82f4b67cffe43e0af644709106

    Description

      When you run configure with -ltcg as an option and build for MSVC, you get the option enabled when building Qt. Although GCC also has a comparable option (-flto), it does not get enabled. The gcc flag needs to be enabled when building each *.c or *.cpp file and at link time.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            rubenvb Ruben Van Boxem
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes