2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# Base qmake configuration for GCC on *nix-systems
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2016-11-25 14:07:48 +00:00
|
|
|
QMAKE_CFLAGS_PIC = -fPIC
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
include(gcc-base.conf)
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LFLAGS_SHLIB += -shared
|
|
|
|
QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
|
|
|
|
QMAKE_LFLAGS_SONAME += -Wl,-soname,
|
|
|
|
QMAKE_LFLAGS_THREAD +=
|
|
|
|
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
|
|
|
QMAKE_LFLAGS_RPATHLINK = -Wl,-rpath-link,
|
2015-04-22 11:09:36 +00:00
|
|
|
QMAKE_LFLAGS_NEW_DTAGS = -Wl,--enable-new-dtags
|
2017-12-04 10:34:09 +00:00
|
|
|
QMAKE_LFLAGS_GDB_INDEX = -Wl,--gdb-index
|
2019-01-17 14:39:32 +00:00
|
|
|
QMAKE_LFLAGS_USE_BFD = -fuse-ld=bfd
|
2014-07-01 09:46:50 +00:00
|
|
|
QMAKE_LFLAGS_USE_GOLD = -fuse-ld=gold
|
2019-01-17 14:39:32 +00:00
|
|
|
QMAKE_LFLAGS_USE_LLD = -fuse-ld=lld
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
# -Bsymbolic-functions (ld) support
|
|
|
|
QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
|
|
|
|
QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
|
2015-06-02 18:10:22 +00:00
|
|
|
QMAKE_LFLAGS_VERSION_SCRIPT = -Wl,--version-script,
|