mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-09 09:20:01 +03:00
Clang complains about ZFS headers
This commit is contained in:
parent
7e4ea2c2da
commit
1d39364a02
2
Makefile
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user