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 <iv@altlinux.org>
This commit is contained in:
Ivan A. Melnikov 2023-12-06 18:01:08 +04:00 committed by Andrei Vagin
parent 37d62fa475
commit 8a51639e3d

View file

@ -127,7 +127,7 @@ WARNINGS := -rdynamic
endif
ifeq ($(ARCH),loongarch64)
WARNINGS := -Wno-implicit-function-declaration
WARNINGS += -Wno-implicit-function-declaration
endif
ifneq ($(GCOV),)