Skip to content

Commit

Permalink
qt5-build.eclass: add -no-ltcg for 5.6 and later
Browse files Browse the repository at this point in the history
(cherry picked from proj/qt commit a72b03f11e9d003e26607a1c80457bbf574fe3d7)
  • Loading branch information
Pesa committed Feb 2, 2016
1 parent 9fede93 commit a0ab665
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions eclass/qt5-build.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -583,13 +583,15 @@ qt5_base_configure() {
-no-icu -no-fontconfig
-no-dbus

# don't strip
# let portage handle stripping
-no-strip

# precompiled headers are not that useful for us
# and cause problems on hardened, so turn them off
# precompiled headers can cause problems on hardened, so turn them off
-no-pch

# link-time code generation is not something we want to enable by default
$([[ ${QT5_MINOR_VERSION} -ge 6 ]] && echo -no-ltcg)

# reduced relocations cause major breakage on at least arm and ppc, so
# don't specify anything and let the configure figure out if they are
# supported; see also https://bugreports.qt.io/browse/QTBUG-36129
Expand Down

0 comments on commit a0ab665

Please sign in to comment.