From 8a51639e3d5b5cda0cc81c19ce0645a9f2f46019 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 9f0928b01..05f1964a2 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),)