diff --git a/dectmngr/Makefile b/dectmngr/Makefile index 4a6c55486..bbe47fbb4 100644 --- a/dectmngr/Makefile +++ b/dectmngr/Makefile @@ -53,6 +53,7 @@ endif TARGET_CFLAGS += \ -Wall \ + -Werror \ -I$(STAGING_DIR)/usr/include/libxml2 ifeq ($(CONFIG_ENABLE_LINE_SETTINGS_EXTENSION),y) diff --git a/endptmngr/Makefile b/endptmngr/Makefile index 6a6a71f45..f6a494858 100644 --- a/endptmngr/Makefile +++ b/endptmngr/Makefile @@ -56,6 +56,10 @@ define Build/Prepare endef endif +TARGET_CFLAGS += \ + -Wall \ + -Werror + define Package/endptmngr/install $(CP) ./files/* $(1)/ $(INSTALL_DIR) $(1)/usr/sbin