From e69725389afc8b4228fbd106d5624f325c4ace34 Mon Sep 17 00:00:00 2001
From: Basile Desloges <basile.desloges@cea.fr>
Date: Fri, 15 Oct 2021 15:20:47 +0200
Subject: [PATCH] [plugins] Set warning 70 ignore as the last option of plugin
 test compilation

---
 share/Makefile.plugin.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/Makefile.plugin.template b/share/Makefile.plugin.template
index ca774230631..9d10617bd82 100644
--- a/share/Makefile.plugin.template
+++ b/share/Makefile.plugin.template
@@ -444,7 +444,7 @@ $(NAME_OFLAGS):=$(OFLAGS) $(INCLUDE_FLAGS) $(PLUGIN_OFLAGS)
 # DO NOT include the plugin's own directory as search path for compiling
 # ml test scripts: they will be loaded in a separate phase, and will only see
 # the plugin through its static API
-$(NAME_TEST_BFLAGS):= $(BFLAGS) -w -70 $(INCLUDE_EXT_FLAGS) $(PLUGIN_BFLAGS)
+$(NAME_TEST_BFLAGS):= $(BFLAGS) $(INCLUDE_EXT_FLAGS) $(PLUGIN_BFLAGS) -w -70
 $(NAME_TEST_OFLAGS):= $(OFLAGS) $(INCLUDE_EXT_FLAGS) $(PLUGIN_OFLAGS)
 
 $(TARGET_BFLAGS):= $(PLUGIN_LINK_BFLAGS)
-- 
GitLab