mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1175857 - Build dump_syms with compiler optimizations; r=glandium
dump_syms has been measured to be ~50% faster when compiled with optimizations. Since symbol generation takes a lot of time on the builders, this difference matters. Compile dump_syms with optimizations to make symbol dumping faster and hopefully making build jobs faster as well.
This commit is contained in:
parent
adf388bff5
commit
247f3c9d0f
@ -8,7 +8,10 @@ HOST_SOURCES += [
|
||||
'dump_syms.cc',
|
||||
]
|
||||
|
||||
HostProgram('dump_syms')
|
||||
HOST_CXXFLAGS += [
|
||||
'-O2',
|
||||
'-g',
|
||||
]
|
||||
|
||||
# host_breakpad_linux_common_s needs to come first
|
||||
HOST_USE_LIBS += [
|
||||
@ -19,6 +22,10 @@ HOST_USE_LIBS += [
|
||||
'host_breakpad_dwarf_s',
|
||||
]
|
||||
|
||||
# The HostProgram template may append 'host_stdc++compat' to
|
||||
# HOST_USE_LIBS, which needs to appear after the entries above.
|
||||
HostProgram('dump_syms')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../..',
|
||||
'../../../common/linux',
|
||||
|
@ -8,7 +8,10 @@ HOST_SOURCES += [
|
||||
'dump_syms_tool.cc',
|
||||
]
|
||||
|
||||
HostProgram('dump_syms')
|
||||
HOST_CXXFLAGS += [
|
||||
'-O2',
|
||||
'-g',
|
||||
]
|
||||
|
||||
# Order matters here, but HOST_USE_LIBS must be sorted.
|
||||
HOST_USE_LIBS += [
|
||||
@ -19,6 +22,10 @@ HOST_USE_LIBS += [
|
||||
'host_breakpad_dwarf_s',
|
||||
]
|
||||
|
||||
# The HostProgram template may append 'host_stdc++compat' to
|
||||
# HOST_USE_LIBS, which needs to appear after the entries above.
|
||||
HostProgram('dump_syms')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../..',
|
||||
'../../../common/mac',
|
||||
|
@ -7,14 +7,21 @@
|
||||
HOST_SOURCES += [
|
||||
'dump_syms.cc',
|
||||
]
|
||||
|
||||
HostProgram('dump_syms')
|
||||
|
||||
HOST_CXXFLAGS += [
|
||||
'-O2',
|
||||
'-g',
|
||||
]
|
||||
|
||||
HOST_USE_LIBS += [
|
||||
'host_breakpad_common_s',
|
||||
'host_breakpad_solaris_common_s',
|
||||
]
|
||||
|
||||
# The HostProgram template may append 'host_stdc++compat' to
|
||||
# HOST_USE_LIBS, which needs to appear after the entries above.
|
||||
HostProgram('dump_syms')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../../..',
|
||||
'../../../common/solaris',
|
||||
|
Loading…
Reference in New Issue
Block a user