2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# Qmake configuration for the GNU C++ compiler
|
|
|
|
#
|
|
|
|
# Before making changes to this file, please read the comment in
|
|
|
|
# gcc-base.conf, to make sure the change goes in the right place.
|
|
|
|
#
|
|
|
|
# To verify that your change has the desired effect on the final configuration
|
|
|
|
# you can use the manual test in tests/manual/mkspecs.
|
|
|
|
#
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_COMPILER = gcc
|
2012-09-13 20:17:33 +00:00
|
|
|
|
2019-10-24 08:14:58 +00:00
|
|
|
QMAKE_CC = $${CROSS_COMPILE}gcc
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LINK_C = $$QMAKE_CC
|
|
|
|
QMAKE_LINK_C_SHLIB = $$QMAKE_CC
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2019-10-24 08:14:58 +00:00
|
|
|
QMAKE_CXX = $${CROSS_COMPILE}g++
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LINK = $$QMAKE_CXX
|
|
|
|
QMAKE_LINK_SHLIB = $$QMAKE_CXX
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_PCH_OUTPUT_EXT = .gch
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
|
|
|
|
QMAKE_CFLAGS_USE_PRECOMPILE = -include ${QMAKE_PCH_OUTPUT_BASE}
|
|
|
|
QMAKE_CXXFLAGS_PRECOMPILE = -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
|
|
|
|
QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
|
2012-05-29 05:10:09 +00:00
|
|
|
|
2018-02-14 12:40:57 +00:00
|
|
|
QMAKE_CFLAGS_GNUC99 = -std=gnu99
|
|
|
|
QMAKE_CFLAGS_GNUC11 = -std=gnu11
|
2015-07-08 21:16:43 +00:00
|
|
|
QMAKE_CXXFLAGS_CXX11 = -std=c++11
|
2015-07-09 00:21:30 +00:00
|
|
|
QMAKE_CXXFLAGS_CXX14 = -std=c++1y
|
|
|
|
QMAKE_CXXFLAGS_CXX1Z = -std=c++1z
|
2019-04-17 14:01:46 +00:00
|
|
|
QMAKE_CXXFLAGS_CXX2A = -std=c++2a
|
2022-04-01 08:16:17 +00:00
|
|
|
QMAKE_CXXFLAGS_CXX2B = -std=c++2b
|
2015-07-08 21:16:43 +00:00
|
|
|
QMAKE_CXXFLAGS_GNUCXX11 = -std=gnu++11
|
2015-07-09 00:21:30 +00:00
|
|
|
QMAKE_CXXFLAGS_GNUCXX14 = -std=gnu++1y
|
|
|
|
QMAKE_CXXFLAGS_GNUCXX1Z = -std=gnu++1z
|
2019-04-17 14:01:46 +00:00
|
|
|
QMAKE_CXXFLAGS_GNUCXX2A = -std=gnu++2a
|
2022-04-01 08:16:17 +00:00
|
|
|
QMAKE_CXXFLAGS_GNUCXX2B = -std=gnu++2b
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LFLAGS_CXX11 =
|
2015-07-09 00:21:30 +00:00
|
|
|
QMAKE_LFLAGS_CXX14 =
|
|
|
|
QMAKE_LFLAGS_CXX1Z =
|