move invariant CONFIG flags out of the configures
we now have qt_build_config.prf which can contain static code. Change-Id: I3f0ae142fdc5ffb4e1d25e628e809ba15b5f0ac4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
bc64a7a6f7
commit
80439fbd82
2
configure
vendored
2
configure
vendored
@ -6074,7 +6074,7 @@ fi
|
||||
#-------------------------------------------------------------------------------
|
||||
QTMODULE="$outpath/mkspecs/qmodule.pri"
|
||||
|
||||
echo "CONFIG += $QMAKE_CONFIG create_prl link_prl no_private_qt_headers_warning QTDIR_build" >> "$QTMODULE.tmp"
|
||||
echo "CONFIG += $QMAKE_CONFIG" >> "$QTMODULE.tmp"
|
||||
echo "QT_BUILD_PARTS += $CFG_BUILD_PARTS" >> "$QTMODULE.tmp"
|
||||
|
||||
if [ -n "$QT_CFLAGS_PSQL" ]; then
|
||||
|
@ -25,6 +25,8 @@ mac {
|
||||
}
|
||||
}
|
||||
|
||||
CONFIG += create_prl link_prl no_private_qt_headers_warning QTDIR_build
|
||||
|
||||
# Qt modules get compiled without exceptions enabled by default.
|
||||
# However, testcases should be still built with exceptions.
|
||||
CONFIG += exceptions_off testcase_exceptions
|
||||
|
@ -2750,8 +2750,7 @@ void Configure::generateCachefile()
|
||||
if (!dictionary["DECORATIONS"].isEmpty())
|
||||
moduleStream << "decorations += "<<dictionary["DECORATIONS"]<<endl;
|
||||
|
||||
moduleStream << "CONFIG += " << qmakeConfig.join(' ')
|
||||
<< " create_prl link_prl no_private_qt_headers_warning QTDIR_build";
|
||||
moduleStream << "CONFIG += " << qmakeConfig.join(' ');
|
||||
if (dictionary[ "SSE2" ] == "yes")
|
||||
moduleStream << " sse2";
|
||||
if (dictionary[ "SSE3" ] == "yes")
|
||||
|
Loading…
x
Reference in New Issue
Block a user