Parcourir la source

编译选项添加-fopenmp库

zengminguo il y a 2 ans
Parent
commit
2028941780
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Makefile.am

+ 1 - 1
Makefile.am

@@ -30,7 +30,7 @@ SRC_MAIN= ant.cpp area.cpp base64.cpp bindmorecard.cpp mine_business.cpp card_ar
 
 AM_SOURCES=$(SRC_MONKEYCAR) $(SRC_MODULE_SERVICE) $(SRC_SYNCTIME_MODULE) $(SRC_MAIN) $(SRC_MAIN_EVENT)
 
-AM_CPPFLAGS=-Wall -pthread -m64 -g -std=c++11 -I${prefix}/include -I/usr/local/include/mysql -Iwebsocket -Iwebsocket/sio -I./db  -Imodule_service -I./sync_time -I/usr/local/include/eigen3
+AM_CPPFLAGS=-fopenmp -Wall -pthread -m64 -g -std=c++11 -I${prefix}/include -I/usr/local/include/mysql -Iwebsocket -Iwebsocket/sio -I./db  -Imodule_service -I./sync_time -I/usr/local/include/eigen3
 
 AM_LDFLAGS=-Wall -pthread -m64 -g -std=c++11  -L${prefix}/lib  -L/usr/local/lib