mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 11:28:21 +08:00
18 lines
433 B
Diff
18 lines
433 B
Diff
|
diff --git a/meson.build b/meson.build
|
||
|
index 41344b3a33..8fb68f296a 100644
|
||
|
--- a/meson.build
|
||
|
+++ b/meson.build
|
||
|
@@ -57,6 +57,12 @@ if host_machine.cpu_family() == 'arm' and cpp.alignment('struct { char c; }') !=
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
+if host_machine.system() == 'windows'
|
||
|
+ add_project_arguments(cpp.get_supported_arguments([
|
||
|
+ '-Wa,-mbig-obj'
|
||
|
+ ]), language : 'cpp')
|
||
|
+endif
|
||
|
+
|
||
|
check_headers = [
|
||
|
['unistd.h'],
|
||
|
['sys/mman.h'],
|