summaryrefslogtreecommitdiff
path: root/tnet_io/tnet.mk
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-30 15:27:01 +0800
committerDeterminant <[email protected]>2015-05-30 15:27:01 +0800
commit3b156cd0cd19aa7db97082161921064a0a871328 (patch)
treef58a2f25edbc5b3495756370fae6c33aab4f54c9 /tnet_io/tnet.mk
parent54546414d1700ed34bf2fe896f36e86e59850b63 (diff)
add nerv interface for TNet IO
Diffstat (limited to 'tnet_io/tnet.mk')
-rw-r--r--tnet_io/tnet.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnet_io/tnet.mk b/tnet_io/tnet.mk
index 775fe85..ba4862b 100644
--- a/tnet_io/tnet.mk
+++ b/tnet_io/tnet.mk
@@ -47,7 +47,7 @@ CUDA_TK_BASE=/usr/local/cuda
# compilation args
-CXXFLAGS += -g -Wall -O2 -DHAVE_ATLAS -rdynamic
+CXXFLAGS += -g -Wall -O2 -DHAVE_ATLAS -rdynamic -fPIC
CXXFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion
# enable double-precision