Skip to content

Commit 984a198

Browse files
committed
clang++ 20 fix: Wno-error=unused-command-line-argument
1 parent 074cc76 commit 984a198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ COMPILER_VERSION_NUMBER_MAJOR := $(shell echo $(COMPILER_VERSION_NUMBER) | cut -
3131
$(info $(COMPILER_VERSION))
3232
ifneq '' '$(findstring clang,$(COMPILER_VERSION))'
3333
COMPILER_NAME := CLANG
34-
CXXFLAGS += -flto=thin
34+
CXXFLAGS += -flto=thin -Wno-error=unused-command-line-argument
3535
else ifneq '' '$(findstring g++,$(COMPILER_VERSION))'
3636
COMPILER_NAME := GCC
3737
CXXFLAGS += -flto=auto

0 commit comments

Comments
 (0)