2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for linux-icc
|
|
|
|
#
|
2018-06-21 07:20:34 +00:00
|
|
|
# Written for Intel C++ Compiler for Linux version 17.0 or higher
|
|
|
|
#
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2018-06-21 07:20:34 +00:00
|
|
|
include(../common/icc-base-unix.conf)
|
2012-09-13 20:17:33 +00:00
|
|
|
|
2018-06-21 07:20:34 +00:00
|
|
|
# modifications to icc-base-unix.conf
|
2017-04-07 13:49:10 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_CFLAGS_YACC =
|
2013-12-09 18:56:31 +00:00
|
|
|
QMAKE_CFLAGS_ISYSTEM = -isystem
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_CFLAGS_THREAD = -D_REENTRANT
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
|
|
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2017-01-25 15:22:04 +00:00
|
|
|
QMAKE_LFLAGS_APP = -pie
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LFLAGS_SHLIB = -shared -shared-intel
|
|
|
|
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
|
|
|
QMAKE_LFLAGS_NOUNDEF = -Wl,-z,defs
|
2013-10-30 14:00:10 +00:00
|
|
|
QMAKE_LFLAGS_RPATHLINK = -Wl,-rpath-link,
|
2018-06-21 07:20:34 +00:00
|
|
|
|
|
|
|
# -Bsymbolic-functions (ld) support
|
|
|
|
QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
|
|
|
|
QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
|
|
|
|
QMAKE_LFLAGS_VERSION_SCRIPT = -Wl,--version-script,
|
|
|
|
|
|
|
|
# fat LTO support for Linux ICC; not available for macOS ICC, see
|
|
|
|
# https://software.intel.com/en-us/cpp-compiler-18.0-developer-guide-and-reference-ffat-lto-objects
|
|
|
|
QMAKE_CFLAGS_LTCG += -fno-fat-lto-objects
|
|
|
|
QMAKE_CXXFLAGS_LTCG += -fno-fat-lto-objects
|
|
|
|
QMAKE_LFLAGS_LTCG += -fno-fat-lto-objects
|
|
|
|
QMAKE_CFLAGS_LTCG_FATOBJECTS = -ffat-lto-objects
|
|
|
|
QMAKE_CXXFLAGS_LTCG_FATOBJECTS = $$QMAKE_CFLAGS_LTCG_FATOBJECTS
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LIBS =
|
|
|
|
QMAKE_LIBS_DYNLOAD = -ldl
|
|
|
|
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
|
|
|
QMAKE_LIBS_OPENGL = -lGL
|
|
|
|
QMAKE_LIBS_THREAD = -lpthread
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_AR = xiar cqs
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_OBJCOPY = objcopy
|
2013-04-22 21:22:09 +00:00
|
|
|
QMAKE_NM = nm -P
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_RANLIB =
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2011-12-26 00:46:11 +00:00
|
|
|
include(../common/linux.conf)
|
2011-04-27 10:05:43 +00:00
|
|
|
load(qt_config)
|