mirror of
https://github.com/NixOS/nix
synced 2025-07-18 02:58:27 +02:00
Revert "Merge pull request #11804 from obsidiansystems/remove-old-make"
This reverts commit619eeb658a
, reversing changes made to1af94bf471
.
This commit is contained in:
parent
3ab8534b13
commit
67d231c046
134 changed files with 4722 additions and 75 deletions
15
local.mk
Normal file
15
local.mk
Normal file
|
@ -0,0 +1,15 @@
|
|||
GLOBAL_CXXFLAGS += -Wno-deprecated-declarations -Werror=switch
|
||||
# Allow switch-enum to be overridden for files that do not support it, usually because of dependency headers.
|
||||
ERROR_SWITCH_ENUM = -Werror=switch-enum
|
||||
|
||||
$(foreach i, config.h $(wildcard src/lib*/*.hh) $(filter-out %_internal.h, $(wildcard src/lib*c/*.h)), \
|
||||
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
||||
|
||||
ifdef HOST_UNIX
|
||||
$(foreach i, $(wildcard src/lib*/unix/*.hh), \
|
||||
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
||||
endif
|
||||
|
||||
$(GCH): src/libutil/util.hh config.h
|
||||
|
||||
GCH_CXXFLAGS = $(INCLUDE_libutil)
|
Loading…
Add table
Add a link
Reference in a new issue