Make the build more clang friendly
This commit is contained in:
@@ -35,7 +35,11 @@ else
|
||||
CXXFLAGS += -DNDEBUG
|
||||
endif
|
||||
ifndef NLTO
|
||||
ifeq (,$(findstring g++, $(CC)))
|
||||
CXXFLAGS += -flto=6
|
||||
else
|
||||
CXXFLAGS += -flto=thin
|
||||
endif
|
||||
else
|
||||
CXXFLAGS += -fno-lto
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user