summaryrefslogtreecommitdiffstats
path: root/src/tools/bootstrap/bootstrap.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-05-11 17:41:40 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-19 19:33:15 +0200
commit199b2594ff08b8341126165f17bbef8af54351ec (patch)
treed5343adf7414576934af41384ca9a4bd39ce0e5a /src/tools/bootstrap/bootstrap.pro
parent49dc7d2b8c77975de864e46f08f6fb59bc44b03a (diff)
Make the use of -ffunction-sections more generic in Qt
Move it from bootstrap.pro into qt_module.prf so it will apply to any other bootstrapped libraries, like libQmlDevTools. Variable called "SPLIT_SECTIONS" because -fdata-sections could be added in the future, if it proves to be a benefit. Change-Id: I3fbb004f111620a84e58e9112e9bce3afd95631e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/tools/bootstrap/bootstrap.pro')
-rw-r--r--src/tools/bootstrap/bootstrap.pro2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro
index fea4e2519f..310ea317ac 100644
--- a/src/tools/bootstrap/bootstrap.pro
+++ b/src/tools/bootstrap/bootstrap.pro
@@ -145,8 +145,6 @@ macx {
../../corelib/io/qstandardpaths_win.cpp
}
-*-g++*: QMAKE_CXXFLAGS += -ffunction-sections
-
if(contains(QT_CONFIG, zlib)|cross_compile):include(../../3rdparty/zlib.pri)
else:include(../../3rdparty/zlib_dependency.pri)