From 1d39364a02dccad4ab3057168f3dde07366e7fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 5 Mar 2024 22:48:30 +0100 Subject: [PATCH] Clang complains about ZFS headers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a631ef9..67ba809 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ endif ifneq "$(findstring clang,$(shell $(CXX) --version))" "" # GCC doesn't have this granularity - CXXFLAGS += -flto=full -pedantic -Wno-gnu-statement-expression -Wno-gnu-include-next -Wno-gnu-conditional-omitted-operand -Wno-c++20-designator + CXXFLAGS += -flto=full -pedantic -Wno-gnu-statement-expression -Wno-gnu-include-next -Wno-gnu-conditional-omitted-operand -Wno-c++20-designator -Wno-variadic-macros -Wno-c99-extensions ifeq "$(AR)" "ar" # Need this because -flto=full produces objects FSF ranlib (ar s) can't index override AR := llvm-ar