modified: Makefile
This commit is contained in:
@@ -14,6 +14,7 @@ LIBAQ_SRC = server/server.cpp server/monetdb_conn.cpp server/io.cpp
|
|||||||
LIBAQ_OBJ = server.o monetdb_conn.o io.o
|
LIBAQ_OBJ = server.o monetdb_conn.o io.o
|
||||||
SEMANTIC_INTERPOSITION = -fno-semantic-interposition
|
SEMANTIC_INTERPOSITION = -fno-semantic-interposition
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
ifeq ($(COMPILER), clang )
|
ifeq ($(COMPILER), clang )
|
||||||
CLANG_GE_10 = $(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 10)
|
CLANG_GE_10 = $(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 10)
|
||||||
ifneq ($(CLANG_GE_10), 1)
|
ifneq ($(CLANG_GE_10), 1)
|
||||||
@@ -22,6 +23,10 @@ ifeq ($(COMPILER), clang )
|
|||||||
ifneq (, $(shell which llvm-ranlib))
|
ifneq (, $(shell which llvm-ranlib))
|
||||||
RANLIB = llvm-ranlib
|
RANLIB = llvm-ranlib
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
ifneq (, $(shell which gcc-ar))
|
||||||
|
LIBTOOL = gcc-ar rcs
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
OPTFLAGS += $(SEMANTIC_INTERPOSITION)
|
OPTFLAGS += $(SEMANTIC_INTERPOSITION)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user