Qmake: Share QMAKE_LINK_OBJECT_SCRIPT definition
It is only used by default on Windows, but can be enabled by setting QMAKE_LINK_OBJECT_MAX. The current file name is .project_name. Use a sensible file name on this case. Change-Id: Ic250d024e5feca739027c79a6e285d616234c4ea Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
de307a8ece
commit
04739ce4b4
@ -75,7 +75,6 @@ QMAKE_LFLAGS_RPATHLINK = -Wl,-rpath-link=
|
||||
|
||||
equals(QMAKE_HOST.os, Windows) {
|
||||
QMAKE_LINK_OBJECT_MAX = 10
|
||||
QMAKE_LINK_OBJECT_SCRIPT = object_script
|
||||
}
|
||||
|
||||
QMAKE_LIBS_X11 =
|
||||
|
@ -48,7 +48,6 @@ QMAKE_LFLAGS_DLL = -shared
|
||||
QMAKE_LFLAGS_GCSECTIONS = -Wl,--gc-sections
|
||||
equals(QMAKE_HOST.os, Windows) {
|
||||
QMAKE_LINK_OBJECT_MAX = 10
|
||||
QMAKE_LINK_OBJECT_SCRIPT = object_script
|
||||
}
|
||||
QMAKE_EXT_OBJ = .o
|
||||
QMAKE_EXT_RES = _res.o
|
||||
|
@ -127,4 +127,6 @@ QMAKE_AR_LTCG = gcc-ar cqs
|
||||
QMAKE_NM_LTCG = gcc-nm -P
|
||||
QMAKE_RANLIB_LTCG = true # No need to run since gcc-ar has "s"
|
||||
|
||||
QMAKE_LINK_OBJECT_SCRIPT = object_script
|
||||
|
||||
include(sanitize.conf)
|
||||
|
Loading…
Reference in New Issue
Block a user