File 0475-runtime_tools-tests-Turn-on-warnings-as-errors.patch of Package erlang

From 4124d78d531c2b5a0b2a6227a27adc78bee16c45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Sat, 27 Feb 2021 06:17:44 +0100
Subject: [PATCH 5/9] runtime_tools tests: Turn on warnings as errors

---
 lib/runtime_tools/test/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/runtime_tools/test/Makefile b/lib/runtime_tools/test/Makefile
index 29cf7545c9..e5a087f3ad 100644
--- a/lib/runtime_tools/test/Makefile
+++ b/lib/runtime_tools/test/Makefile
@@ -30,7 +30,7 @@ RELSYSDIR = $(RELEASE_PATH)/runtime_tools_test
 # ----------------------------------------------------
 
 ERL_MAKE_FLAGS +=
-ERL_COMPILE_FLAGS +=
+ERL_COMPILE_FLAGS += -Werror
 
 EBIN = .
 
-- 
2.26.2

openSUSE Build Service is sponsored by