diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch b/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch index b56224b9..34e41a18 100644 --- a/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch +++ b/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch @@ -22,7 +22,7 @@ index a94f6d0eeb..ccab725843 100644 static:no-static-ltcg { # Static library but no-static-ltcg enabled: skip LTCG -} else: CONFIG(release, debug|release) { -+} else: CONFIG(release, debug|release)!host_build { - # We need fat object files when creating static libraries on some platforms - # so the linker will know to load a particular object from the library - # in the first place. On others, we have special ar and nm to create the symbol ++} else: CONFIG(release, debug|release):!host_build { + separate_debug_info { + # Evaluate single-$ variable references that have no valid value at mkspec loading time + QMAKE_LFLAGS_LTCG_SEPARATE_DEBUG_INFO ~= s/\\$\\{/\$\$\{/ |