From a1974012d5784ea92de855c9d12c3341f9065c51 Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Fri, 8 Jun 2018 08:28:55 +0900 Subject: [PATCH] Add -Bsymbolic-functions to linker option (#1244) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 403bf0544ece..4529ecc05ee0 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 =