Add -Bsymbolic-functions to linker option (#1244)
This commit is contained in:
Родитель
1a4dc0d4b8
Коммит
a1974012d5
2
Makefile
2
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 =
|
||||
|
|
Загрузка…
Ссылка в новой задаче