mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Precompile headers
This cuts 'make install -j6' on my laptop from 170s to 134s.
This commit is contained in:
parent
39a2e166dd
commit
5ff4d77f55
6 changed files with 118 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -15,8 +15,8 @@ makefiles = \
|
|||
tests/local.mk \
|
||||
tests/plugins/local.mk
|
||||
|
||||
GLOBAL_CXXFLAGS += -g -Wall -include config.h
|
||||
|
||||
-include Makefile.config
|
||||
|
||||
include mk/lib.mk
|
||||
|
||||
GLOBAL_CXXFLAGS += -g -Wall -include config.h -std=c++17
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue