summaryrefslogtreecommitdiffstats
path: root/yang/libyang_plugins/subdir.am
diff options
context:
space:
mode:
Diffstat (limited to 'yang/libyang_plugins/subdir.am')
-rw-r--r--yang/libyang_plugins/subdir.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/yang/libyang_plugins/subdir.am b/yang/libyang_plugins/subdir.am
index 716478908..fe5f34a28 100644
--- a/yang/libyang_plugins/subdir.am
+++ b/yang/libyang_plugins/subdir.am
@@ -8,7 +8,7 @@ else
libyang_plugins_LTLIBRARIES += yang/libyang_plugins/frr_user_types.la
endif
-yang_libyang_plugins_frr_user_types_la_CFLAGS = $(WERROR)
+yang_libyang_plugins_frr_user_types_la_CFLAGS = $(WERROR) $(LIBYANG_CFLAGS)
yang_libyang_plugins_frr_user_types_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
yang_libyang_plugins_frr_user_types_la_LIBADD =
yang_libyang_plugins_frr_user_types_la_SOURCES = yang/libyang_plugins/frr_user_types.c