1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

libstore: Speed up builds by using precompiled headers

This commit is contained in:
Sergei Zimmerman 2025-07-20 21:24:46 +03:00
parent e920e28734
commit 33d031095f
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View file

@ -348,6 +348,7 @@ this_library = library(
link_args: linker_export_flags,
prelink : true, # For C++ static initializers
install : true,
cpp_pch : ['pch/precompiled-headers.hh']
)
install_headers(headers, subdir : 'nix/store', preserve_path : true)