We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 177a067 commit 26539a0Copy full SHA for 26539a0
nix-meson-build-support/big-objs/meson.build
@@ -0,0 +1,4 @@
1
+# libexpr's primops creates a large object
2
+# Without the following flag, we'll get errors when cross-compiling to mingw32:
3
+# Fatal error: can't write 66 bytes to section .text of src/libexpr/libnixexpr.dll.p/primops.cc.obj: 'file too big'
4
+add_project_arguments([ '-Wa,-mbig-obj' ], language: 'cpp')
src/libexpr/meson.build
@@ -24,6 +24,7 @@ deps_public_maybe_subproject = [
24
dependency('nix-fetchers'),
25
]
26
subdir('nix-meson-build-support/subprojects')
27
+subdir('nix-meson-build-support/big-objs')
28
29
boost = dependency(
30
'boost',
0 commit comments