Skip to content

Commit

Permalink
[Android] Enable LTO
Browse files Browse the repository at this point in the history
At least on arm64 it appears to work just fine, but other archs need testing as
well.
  • Loading branch information
Vogtinator committed Oct 19, 2022
1 parent 5ae4b8b commit 56edec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebird.pro
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ QMAKE_CXXFLAGS_RELEASE = -O3 -DNDEBUG
# Don't enable LTO with clang on Linux, incompatible with Qt (QTBUG-43556).
# On FreeBSD, clang with LTO produces copy relocs, which are incompatible
# with Qt's -reduce-relocations option (QTBUG-86173).
!clang | !if(linux|freebsd): CONFIG += ltcg
!clang | !if(if(linux:!android)|freebsd): CONFIG += ltcg

# noexecstack is not supported by MinGW's as
!win32 {
Expand Down

0 comments on commit 56edec4

Please sign in to comment.