1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/local.mk

11 lines
404 B
Makefile
Raw Normal View History

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
2014-02-07 11:15:00 -05:00
$(foreach i, config.h $(wildcard src/lib*/*.hh), \
2015-06-09 05:14:36 -04:00
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
$(GCH): src/libutil/util.hh config.h
2020-03-30 08:29:29 -04:00
GCH_CXXFLAGS = $(INCLUDE_libutil)