From f9d31e427eb8d929f999c3b4cc9995e56b8cef6b Mon Sep 17 00:00:00 2001 From: "Ivan A. Melnikov" Date: Wed, 6 Dec 2023 18:01:08 +0400 Subject: [PATCH] Makefile: Use common warnings settings for loongarch64 WARNINGS variable should be amended, not redefined. We still need, e.g., `-Wno-dangling-pointer` to build criu on loongarch64 with gcc13. Signed-off-by: Ivan A. Melnikov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 35e96d5d7d..7e6bb40d0d 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ WARNINGS := -rdynamic endif ifeq ($(ARCH),loongarch64) -WARNINGS := -Wno-implicit-function-declaration +WARNINGS += -Wno-implicit-function-declaration endif ifneq ($(GCOV),)