clang 15 check for macOS
This commit is contained in:
parent
ea81eae189
commit
2b32b170a1
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -73,6 +73,10 @@ endif
|
|||
ifeq ($(UNAME_S),Darwin)
|
||||
CFLAGS += -pthread
|
||||
CXXFLAGS += -pthread
|
||||
CLANG_VER = $(shell clang -v 2>&1 | head -n 1 | awk 'BEGIN {FS="[. ]"};{print $$1 $$2 $$4}')
|
||||
ifeq ($(CLANG_VER),Appleclang15)
|
||||
LDFLAGS += -ld_classic
|
||||
endif
|
||||
endif
|
||||
ifeq ($(UNAME_S),FreeBSD)
|
||||
CFLAGS += -pthread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue