File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11CXX =clang
22IFLAGS =-I../../ -I../../include/ -I../ -I./
3- CFLAGS=$(IFLAGS)-std =c++11 -fPIC
3+ CFLAGS=$(IFLAGS)-std =c++11 -O3 - fPIC
44
55DEPS =../../../XAPI2/languages/CPP/XAPI_CPP/XApiImpl.o \
66 ../../../XAPI2/languages/CPP/XAPI_CPP/XApiCpp.o \
@@ -11,7 +11,7 @@ DEPS+=../../common/Queue/MsgQueue.o \
1111 ../../common/Queue/RemoteQueue.o \
1212 ../../include/ApiProcess.o
1313
14- LFLAGS =-Wl,-R\$$ORIGIN -ldl -L../../include/CTP/linux64 -lthosttraderapi -lthostmduserapi
14+ LFLAGS =-Bsymbolic - Wl,-R\$$ORIGIN -ldl -L../../include/CTP/linux64 -lthosttraderapi -lthostmduserapi
1515all : ctp_quote.so ctp_trade.so
1616
1717% .o : % .cpp
Original file line number Diff line number Diff line change 11CXX =clang++
22C =clang
33IFLAGS =-I../../ -I../../include/ -I../ -I./
4- CFLAGS=$(IFLAGS)-std =c++11 -fPIC -pthread -g
4+ CFLAGS=$(IFLAGS)-std =c++11 -O3 -fPIC -pthread
55DEPS =../../languages/CPP/XAPI_CPP/XApiImpl.o \
66 ../../languages/CPP/XAPI_CPP/XApiCpp.o \
77 ../../languages/CPP/XAPI_CPP/XApiC.o \
@@ -11,7 +11,7 @@ DEPS+=../../common/Queue/MsgQueue.o \
1111 ../../common/Queue/RemoteQueue.o \
1212 ../../include/ApiProcess.o
1313
14- LFLAGS =-Wl,-R\$$ORIGIN -ldl -L../../include/CTP/linux64 -lthosttraderapi -lthostmduserapi
14+ LFLAGS =-Bsymbolic - Wl,-R\$$ORIGIN -ldl -L../../include/CTP/linux64 -lthosttraderapi -lthostmduserapi
1515
1616all : CPP_TEST libQuantBox_CTP_Quote.so libQuantBox_CTP_Trade.so
1717
You can’t perform that action at this time.
0 commit comments