summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgpgpu-sim <[email protected]>2018-03-25 16:20:56 -0700
committerGitHub <[email protected]>2018-03-25 16:20:56 -0700
commit5373d10cd2b5dde7c94cccf6e07b8f59869223af (patch)
treecccd3e85cc1e7605c548727a55426b8c2887f258 /Makefile
parent6b27ee3d0e650524c441c1842fa7c7f333135818 (diff)
parentd97022fa5fee348e15f2b07ab83ee7aba4f008e0 (diff)
Merge pull request #59 from tgrogers/dev
Apps compiled with newer versions of CUDA want the version number embedded in the so
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 \