Skip to content

Commit

Permalink
Add -Bsymbolic-functions to linker option (apache#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazum authored and tqchen committed Jun 7, 2018
1 parent 1a4dc0d commit a197401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit a197401

Please sign in to comment.