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

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

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes