mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 23:06:16 +02:00
local.mk: Solve warnings
local.mk:5: warning: overriding recipe for target 'outputs/dev/include/nix/nix_api_expr.h' local.mk:5: warning: ignoring old recipe for target 'outputs/dev/include/nix/nix_api_expr.h' local.mk:5: warning: overriding recipe for target 'outputs/dev/include/nix/nix_api_external.h' local.mk:5: warning: ignoring old recipe for target 'outputs/dev/include/nix/nix_api_external.h' local.mk:5: warning: overriding recipe for target 'outputs/dev/include/nix/nix_api_value.h' local.mk:5: warning: ignoring old recipe for target 'outputs/dev/include/nix/nix_api_value.h' local.mk:5: warning: overriding recipe for target 'outputs/dev/include/nix/nix_api_store.h' local.mk:5: warning: ignoring old recipe for target 'outputs/dev/include/nix/nix_api_store.h' local.mk:5: warning: overriding recipe for target 'outputs/dev/include/nix/nix_api_util.h' local.mk:5: warning: ignoring old recipe for target 'outputs/dev/include/nix/nix_api_util.h'
This commit is contained in:
parent
db948397ff
commit
7a1135901d
1 changed files with 1 additions and 1 deletions
2
local.mk
2
local.mk
|
@ -2,7 +2,7 @@ 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.
|
# Allow switch-enum to be overridden for files that do not support it, usually because of dependency headers.
|
||||||
ERROR_SWITCH_ENUM = -Werror=switch-enum
|
ERROR_SWITCH_ENUM = -Werror=switch-enum
|
||||||
|
|
||||||
$(foreach i, config.h $(wildcard src/lib*/*.hh) $(wildcard src/lib*/*.h $(filter-out %_internal.h, $(wildcard src/lib*c/*.h))), \
|
$(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)))
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
||||||
|
|
||||||
ifdef HOST_UNIX
|
ifdef HOST_UNIX
|
||||||
|
|
Loading…
Reference in a new issue