Skip to content

Commit

Permalink
centralize initialization of CONFIG in mkspecs
Browse files Browse the repository at this point in the history
"CONFIG += qt warn_on release link_prl" is in every single spec (though
for link_prl there is one genuine exception and two apparent omissions).

Change-Id: I72e1e315586af828eefa3b0b70998ab892ec3c1a
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
ossilator authored and Qt by Nokia committed Sep 8, 2012
1 parent 809bc47 commit 6a3a234
Show file tree
Hide file tree
Showing 92 changed files with 62 additions and 91 deletions.
1 change: 0 additions & 1 deletion mkspecs/aix-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = aix
CONFIG += qt warn_on release link_prl

QMAKE_CC = gcc
QMAKE_LEX = flex
Expand Down
1 change: 0 additions & 1 deletion mkspecs/aix-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = aix
CONFIG += qt warn_on release link_prl

QMAKE_CC = gcc
QMAKE_LEX = flex
Expand Down
1 change: 0 additions & 1 deletion mkspecs/aix-xlc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = aix
CONFIG += qt warn_on release link_prl

QMAKE_CC = xlc
QMAKE_CC_THREAD = xlc_r
Expand Down
1 change: 0 additions & 1 deletion mkspecs/aix-xlc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = aix
CONFIG += qt warn_on release link_prl

QMAKE_CC = xlc
QMAKE_CC_THREAD = xlc_r
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/common/ios.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt ios warn_on release reduce_exports incremental global_init_link_order lib_version_first plugin_no_soname link_prl
CONFIG += ios reduce_exports incremental global_init_link_order lib_version_first plugin_no_soname
QMAKE_INCREMENTAL_STYLE = sublib

# Qt can't build iOS app bundle :(
Expand Down
1 change: 0 additions & 1 deletion mkspecs/common/linux-android.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ QMAKE_INCREMENTAL_STYLE = sublib
include(linux.conf)
include(gcc-base-unix.conf)

CONFIG = qt warn_on release link_prl
DEFINES += Q_OS_LINUX_ANDROID
DEFINES += QT_NO_PRINTER QT_NO_PRINTDIALOG
QT_QPA_DEFAULT_PLATFORM = minimal
Expand Down
1 change: 0 additions & 1 deletion mkspecs/common/qcc-base-qnx-armv7le.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release link_prl

include(g++-unix.conf)
include(unix.conf)
Expand Down
1 change: 0 additions & 1 deletion mkspecs/common/qcc-base-qnx-x86.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release link_prl

include(g++-unix.conf)
include(unix.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/common/wince/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAKEFILE_GENERATOR = MSVC.NET
QMAKE_PLATFORM += wince win32
CONFIG += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source debug_and_release debug_and_release_target
CONFIG += incremental flat precompile_header autogen_precompile_source debug_and_release debug_and_release_target

DEFINES += UNDER_CE WINCE _WINDOWS _UNICODE UNICODE _WIN32 QT_NO_PRINTER QT_NO_PRINTDIALOG

Expand Down
2 changes: 1 addition & 1 deletion mkspecs/cygwin-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = cygwin unix posix
CONFIG += qt warn_on release incremental link_prl
CONFIG += incremental
QMAKE_INCREMENTAL_STYLE = sublib

QMAKE_CC = gcc
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/darwin-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = mac macx
CONFIG += qt warn_on release link_prl native_precompiled_headers
CONFIG += native_precompiled_headers
DEFINES += __USE_WS_X11__

QMAKE_CC = cc
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/common/linux_device_pre.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
QT_QPA_DEFAULT_PLATFORM = eglfs

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-archos-gen8-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# http://github.com/KDAB/OpenEmbedded-Archos

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-arm-trident-pnx8473-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-beagleboard-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# http://beagleboard.org/

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-mipsel-broadcom-97425-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-n9-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# http://wiki.qt-project.org/Devices/N9

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-sh4-stmicro-ST7108-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-sh4-stmicro-ST7540-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/devices/linux-snowball-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# http://qt-project.org/wiki/Snowball

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../../common/linux.conf)
Expand Down
1 change: 1 addition & 0 deletions mkspecs/features/spec_pre.prf
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ equals(QMAKE_HOST.os, Windows) {
QMAKE_SH = sh
}

CONFIG = qt warn_on release link_prl
QT = core gui
2 changes: 1 addition & 1 deletion mkspecs/freebsd-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = freebsd bsd
CONFIG += qt warn_on release link_prl gdb_dwarf_index
CONFIG += gdb_dwarf_index

QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE

Expand Down
2 changes: 1 addition & 1 deletion mkspecs/freebsd-g++46/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = freebsd bsd
CONFIG += qt warn_on release link_prl gdb_dwarf_index
CONFIG += gdb_dwarf_index

QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE

Expand Down
1 change: 0 additions & 1 deletion mkspecs/freebsd-icc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = freebsd bsd
CONFIG += qt warn_on release link_prl

QMAKE_CC = icc
QMAKE_LEX = flex
Expand Down
1 change: 0 additions & 1 deletion mkspecs/hpux-acc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release link_prl
QMAKE_COMPILER_DEFINES += __hpux __HP_aCC

QMAKE_CC = cc
Expand Down
1 change: 0 additions & 1 deletion mkspecs/hpux-acc-o64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release link_prl

QMAKE_CC = cc
QMAKE_LEX = flex
Expand Down
1 change: 0 additions & 1 deletion mkspecs/hpux-acc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release link_prl
QMAKE_COMPILER_DEFINES += __hpux __HP_aCC

QMAKE_CC = cc
Expand Down
1 change: 0 additions & 1 deletion mkspecs/hpux-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release link_prl

QMAKE_CC = gcc
QMAKE_LEX = flex
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpux-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release link_prl plugin_no_soname
CONFIG += plugin_no_soname

QMAKE_CC = gcc
QMAKE_LEX = flex
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpuxi-acc-32/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release plugin_no_soname
CONFIG += plugin_no_soname

QMAKE_CC = cc
QMAKE_LEX = lex
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpuxi-acc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release plugin_no_soname
CONFIG += plugin_no_soname

QMAKE_CC = cc
QMAKE_LEX = lex
Expand Down
1 change: 0 additions & 1 deletion mkspecs/hpuxi-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hpux
CONFIG += qt warn_on release link_prl

QMAKE_CC = gcc
QMAKE_LEX = flex
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hurd-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = hurd
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

QMAKE_CFLAGS_THREAD += -D_REENTRANT
Expand Down
1 change: 0 additions & 1 deletion mkspecs/irix-cc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = irix
CONFIG += qt warn_on release link_prl
QMAKE_COMPILER_DEFINES += __sgi __EDG

QMAKE_CC = cc
Expand Down
1 change: 0 additions & 1 deletion mkspecs/irix-cc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = irix
CONFIG += qt warn_on release link_prl
QMAKE_COMPILER_DEFINES += __sgi __EDG

QMAKE_CC = cc
Expand Down
1 change: 0 additions & 1 deletion mkspecs/irix-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = irix
CONFIG += qt warn_on release link_prl
QMAKE_COMPILER_DEFINES += __sgi __GNUC__

QMAKE_CC = gcc
Expand Down
1 change: 0 additions & 1 deletion mkspecs/irix-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = irix
CONFIG += qt warn_on release link_prl
QMAKE_COMPILER_DEFINES += __sgi __GNUC__

QMAKE_CC = gcc
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-arm-gnueabi-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../common/linux.conf)
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-clang/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl
CONFIG += incremental

QMAKE_INCREMENTAL_STYLE = sublib

Expand Down
1 change: 0 additions & 1 deletion mkspecs/linux-cxx/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = linux
CONFIG += qt warn_on release link_prl

QMAKE_CC = ccc
QMAKE_LEX = flex
Expand Down
1 change: 0 additions & 1 deletion mkspecs/linux-ecc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = linux
CONFIG += qt warn_on release link_prl

QMAKE_CC = ecc
QMAKE_LEX = flex
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-g++-32/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

QMAKE_CFLAGS = -m32
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

QMAKE_CFLAGS = -m64
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-g++-maemo/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = maemo
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
CONFIG += nostrip
QMAKE_INCREMENTAL_STYLE = sublib

Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += incremental gdb_dwarf_index
QMAKE_INCREMENTAL_STYLE = sublib

include(../common/linux.conf)
Expand Down
Loading

0 comments on commit 6a3a234

Please sign in to comment.