Skip to content

Commit

Permalink
Performance: build with lto and dead code elimination
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Adams committed Sep 18, 2020
1 parent a1c569f commit 97d831e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.pri
@@ -1,3 +1,6 @@
# Try to optimise for code size a bit
QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections -Wl,--gc-sections -flto

CONFIG += \
c++11 \
link_pkgconfig
Expand Down

0 comments on commit 97d831e

Please sign in to comment.