move remaining configure'd CONFIG flags to qmodule.pri
so they are uniformly available to all modules. Change-Id: I734f703c5923c42cb26f1456ed960cecc01c4b41 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
b94cfa4236
commit
589a18597f
5
configure
vendored
5
configure
vendored
@ -6074,7 +6074,7 @@ fi
|
||||
#-------------------------------------------------------------------------------
|
||||
QTMODULE="$outpath/mkspecs/qmodule.pri"
|
||||
|
||||
echo "CONFIG += $QMAKE_CONFIG create_prl link_prl" >> "$QTMODULE.tmp"
|
||||
echo "CONFIG += $QMAKE_CONFIG create_prl link_prl fix_output_dirs no_private_qt_headers_warning QTDIR_build" >> "$QTMODULE.tmp"
|
||||
echo "QT_BUILD_PARTS += $CFG_BUILD_PARTS" >> "$QTMODULE.tmp"
|
||||
|
||||
if [ -n "$QT_CFLAGS_PSQL" ]; then
|
||||
@ -6139,9 +6139,6 @@ cat >>"$CACHEFILE.tmp" <<EOF
|
||||
#paths
|
||||
QT_SOURCE_TREE = \$\$quote($relpath)
|
||||
QT_BUILD_TREE = \$\$quote($outpath)
|
||||
|
||||
CONFIG += fix_output_dirs no_private_qt_headers_warning QTDIR_build
|
||||
|
||||
EOF
|
||||
|
||||
# replace .qmake.cache if it differs from the newly created temp file
|
||||
|
@ -2711,7 +2711,6 @@ void Configure::generateCachefile()
|
||||
for (QStringList::Iterator var = qmakeVars.begin(); var != qmakeVars.end(); ++var) {
|
||||
cacheStream << (*var) << endl;
|
||||
}
|
||||
cacheStream << "CONFIG += " << qmakeConfig.join(' ') << "no_private_qt_headers_warning QTDIR_build" << endl;
|
||||
|
||||
cacheStream.flush();
|
||||
cacheFile.close();
|
||||
@ -2751,7 +2750,8 @@ void Configure::generateCachefile()
|
||||
if (!dictionary["DECORATIONS"].isEmpty())
|
||||
moduleStream << "decorations += "<<dictionary["DECORATIONS"]<<endl;
|
||||
|
||||
moduleStream << "CONFIG += create_prl link_prl";
|
||||
moduleStream << "CONFIG += " << qmakeConfig.join(' ')
|
||||
<< " create_prl link_prl no_private_qt_headers_warning QTDIR_build";
|
||||
if (dictionary[ "SSE2" ] == "yes")
|
||||
moduleStream << " sse2";
|
||||
if (dictionary[ "SSE3" ] == "yes")
|
||||
|
Loading…
Reference in New Issue
Block a user