Skip to content

Commit

Permalink
clang++ 20 fix: Wno-error=unused-command-line-argument
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Feb 1, 2025
1 parent 074cc76 commit 984a198
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 @@ -31,7 +31,7 @@ COMPILER_VERSION_NUMBER_MAJOR := $(shell echo $(COMPILER_VERSION_NUMBER) | cut -
$(info $(COMPILER_VERSION))
ifneq '' '$(findstring clang,$(COMPILER_VERSION))'
COMPILER_NAME := CLANG
CXXFLAGS += -flto=thin
CXXFLAGS += -flto=thin -Wno-error=unused-command-line-argument
else ifneq '' '$(findstring g++,$(COMPILER_VERSION))'
COMPILER_NAME := GCC
CXXFLAGS += -flto=auto
Expand Down

0 comments on commit 984a198

Please sign in to comment.