summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortgrogers <[email protected]>2018-03-24 18:08:37 -0400
committertgrogers <[email protected]>2018-03-24 18:10:22 -0400
commitd97022fa5fee348e15f2b07ab83ee7aba4f008e0 (patch)
treecccd3e85cc1e7605c548727a55426b8c2887f258 /Makefile
parent6dfb3ba656b09acafdb274d7ab04fb081ca06e57 (diff)
The new CUDAs complain about version info not being embedded into the so file. Having gpgpu-sim ebed some version info to stop the error complaints
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de6264c..2d0466e 100644
--- a/Makefile
+++ b/Makefile
@@ -143,7 +143,7 @@ no_opencl_support:
@echo "Warning: gpgpu-sim is building without opencl support. Make sure NVOPENCL_LIBDIR and NVOPENCL_INCDIR are set"
$(SIM_LIB_DIR)/libcudart.so: makedirs $(LIBS) cudalib
- g++ -shared -Wl,-soname,libcudart_$(GPGPUSIM_BUILD).so \
+ g++ -shared -Wl,-soname,libcudart_$(GPGPUSIM_BUILD).so -Wl,--version-script=linux-so-version.txt\
$(SIM_OBJ_FILES_DIR)/libcuda/*.o \
$(SIM_OBJ_FILES_DIR)/cuda-sim/*.o \
$(SIM_OBJ_FILES_DIR)/cuda-sim/decuda_pred_table/*.o \