qt5base-lts/mkspecs/features/uikit/gc_binaries.prf
Mikhail Svetkin 194a404490 Make the use of -fdata-sections and --gc-sections more generic in Qt
Add qmake feature and configure option, which optimze the size of static
exectuable. Use for static build.
Enabled via configure --gc-binaries, or CONFIG += gc-binaries in 3rd party
projects.

Change-Id: I3c25b02caaef6a4afc6019afc9c67122dd11696d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2018-04-27 06:47:35 +00:00

3 lines
103 B
Plaintext

# bitcode (release mode) is incompatible with splitting sections.
!bitcode|!release: load(gc_binaries)