From 5641f5ed0ec006cf8612ea70980c7336108872bc Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Thu, 7 Jun 2018 13:01:25 +0900 Subject: [PATCH] Add -Bsymbolic-functions to linker option --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f2c3d3919eb5..6583354c86ed 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ UNAME_S := $(shell uname -s) # The flags LLVM_CFLAGS= -fno-rtti -DDMLC_ENABLE_RTTI=0 -DDMLC_USE_FOPEN64=0 -LDFLAGS = -pthread -lm -ldl +LDFLAGS = -pthread -lm -ldl -Wl,-Bsymbolic-functions INCLUDE_FLAGS = -Iinclude -I$(DLPACK_PATH)/include -I$(DMLC_CORE_PATH)/include -IHalideIR/src -Itopi/include CFLAGS = -std=c++11 -Wall -O2 $(INCLUDE_FLAGS) -fPIC PKG_LDFLAGS =