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

Build with "-ffile-prefix-map=$(BASEDIR)=." compiler option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6.3
    • Build System
    • None

    Description

      Would you add this compiler option?

      -ffile-prefix-map=$(BASEDIR)=.

       

      For a host build when CFLAGS or CXXFLAGS of the environment has that option, it is used.

      However for the android build it is skipped. So maybe you could always add it in that case?

       

      This would:

      I was facing many ccache misses especially in the android build because that option is not set, and the __FILE__ macro is used in the QT_REQUIRE_CONFIG macro which is defined in qtbase/src/corelib/global/qtconfigmacros.h

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            ban F S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes