|
|
@ -4,7 +4,7 @@ MonetDB_INC =
|
|
|
|
Threading =
|
|
|
|
Threading =
|
|
|
|
CXXFLAGS = --std=c++1z
|
|
|
|
CXXFLAGS = --std=c++1z
|
|
|
|
OPTFLAGS = -O3 -DNDEBUG
|
|
|
|
OPTFLAGS = -O3 -DNDEBUG
|
|
|
|
LINKFLAGS = -flto
|
|
|
|
LINKFLAGS = -flto
|
|
|
|
SHAREDFLAGS = -shared
|
|
|
|
SHAREDFLAGS = -shared
|
|
|
|
FPIC = -fPIC
|
|
|
|
FPIC = -fPIC
|
|
|
|
COMPILER = $(shell $(CXX) --version | grep -q clang && echo clang|| echo gcc)
|
|
|
|
COMPILER = $(shell $(CXX) --version | grep -q clang && echo clang|| echo gcc)
|
|
|
@ -23,11 +23,13 @@ ifeq ($(COMPILER), clang )
|
|
|
|
ifneq (, $(shell which llvm-ranlib))
|
|
|
|
ifneq (, $(shell which llvm-ranlib))
|
|
|
|
RANLIB = llvm-ranlib
|
|
|
|
RANLIB = llvm-ranlib
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
LINKFLAGS += -Wl,-undefined,error
|
|
|
|
else
|
|
|
|
else
|
|
|
|
LIBTOOL = ar rcs
|
|
|
|
LIBTOOL = ar rcs
|
|
|
|
ifneq (, $(shell which gcc-ar))
|
|
|
|
ifneq (, $(shell which gcc-ar))
|
|
|
|
LIBTOOL = gcc-ar rcs
|
|
|
|
LIBTOOL = gcc-ar rcs
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
LINKFLAGS += -Wl,-no-undefined
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
OPTFLAGS += $(SEMANTIC_INTERPOSITION)
|
|
|
|
OPTFLAGS += $(SEMANTIC_INTERPOSITION)
|
|
|
|
|
|
|
|
|
|
|
|