meson: Enable big objects support when building for windows
Fix cross compilation when targetting win64
This commit is contained in:
parent
94ba4d5a44
commit
17cd4457b7
|
@ -57,6 +57,12 @@ if host_machine.cpu_family() == 'arm' and cpp.alignment('struct { char c; }') !=
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if host_machine.system() == 'windows'
|
||||||
|
add_project_arguments(cpp.get_supported_arguments([
|
||||||
|
'-Wa,-mbig-obj'
|
||||||
|
]), language : 'cpp')
|
||||||
|
endif
|
||||||
|
|
||||||
check_headers = [
|
check_headers = [
|
||||||
['unistd.h'],
|
['unistd.h'],
|
||||||
['sys/mman.h'],
|
['sys/mman.h'],
|
||||||
|
|
Loading…
Reference in New Issue