mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Now that we have applied the [1] patch, the diff is much nicer and less noisy. [1]: https://www.github.com/mesonbuild/meson/pull/14861
6 lines
352 B
Meson
6 lines
352 B
Meson
if host_machine.system() == 'windows'
|
|
# libexpr's primops creates a large object
|
|
# Without the following flag, we'll get errors when cross-compiling to mingw32:
|
|
# Fatal error: can't write 66 bytes to section .text of src/libexpr/libnixexpr.dll.p/primops.cc.obj: 'file too big'
|
|
add_project_arguments([ '-Wa,-mbig-obj' ], language : 'cpp')
|
|
endif
|