mirror of https://github.com/xemu-project/xemu.git
Merge 1777ac72a7
into 5685a6290c
This commit is contained in:
commit
9a31104ab6
|
@ -353,6 +353,10 @@ qemu_common_flags = [
|
|||
qemu_cflags = []
|
||||
qemu_ldflags = []
|
||||
|
||||
# Trim unreferenced functions, data
|
||||
qemu_common_flags += ['-ffunction-sections', '-fdata-sections']
|
||||
qemu_ldflags += '-Wl,--gc-sections'
|
||||
|
||||
if host_os == 'darwin'
|
||||
# Disable attempts to use ObjectiveC features in os/object.h since they
|
||||
# won't work when we're compiling with gcc as a C compiler.
|
||||
|
|
Loading…
Reference in New Issue