Skip to content

Commit

Permalink
Makefile: Use common warnings settings for loongarch64
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
iv-m authored and avagin committed Dec 8, 2023
1 parent 0da1ab2 commit 378da3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ WARNINGS := -rdynamic
endif

ifeq ($(ARCH),loongarch64)
WARNINGS := -Wno-implicit-function-declaration
WARNINGS += -Wno-implicit-function-declaration
endif

ifneq ($(GCOV),)
Expand Down

0 comments on commit 378da3b

Please sign in to comment.