mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 21:41:07 +08:00
0495716066
* Fix mingw build * Update versions * fix license Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
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'],
|