2023-04-03 18:11:42 +02:00
|
|
|
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 17:15:00 +01:00
|
|
|
|
2020-02-03 18:04:09 +01:00
|
|
|
$(foreach i, config.h $(wildcard src/lib*/*.hh), \
|
2015-06-09 11:14:36 +02:00
|
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2019-12-05 20:26:24 +01:00
|
|
|
|
2020-10-06 13:27:09 +02:00
|
|
|
$(GCH): src/libutil/util.hh config.h
|
2020-03-30 14:29:29 +02:00
|
|
|
|
|
|
|
GCH_CXXFLAGS = -I src/libutil
|