Explorar el Código

Merge branch 'master' of liulei/ya-serv into master

liheting hace 6 años
padre
commit
7de7e982b6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      db/Makefile.am

+ 1 - 1
db/Makefile.am

@@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS=foreign
 noinst_LIBRARIES=libyadb.a
 
 
-CXXFLAGS= -g
+CXXFLAGS=-fPIC -g
 AM_CPPFLAGS=-Wall -pthread -m64 -std=c++11  -I${prefix}/include -I/usr/local/mysql/include -I. -I.. -I../websocket/sio
 AM_LDFLAGS =-Wall -pthread -m64 -std=c++11  -L${prefix}/lib  -L/usr/local/mysql/lib