updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / gpu-md5-crack / common.mk.patch
blobe94e18c58599d6fec232e3bfabfc64891bc653ca
1 --- common.mk.orig 2010-01-16 13:27:29.395745938 +0200
2 +++ common.mk 2010-01-16 13:36:30.409719894 +0200
3 @@ -40,7 +40,7 @@
4 # Add new SM Versions here as devices with new Compute Capability are released
5 SM_VERSIONS := sm_10 sm_11 sm_12 sm_13
7 -CUDA_INSTALL_PATH ?= /opt/cuda
8 +CUDA_INSTALL_PATH ?= /usr
10 ifdef cuda-install
11 CUDA_INSTALL_PATH := $(cuda-install)
12 @@ -61,7 +61,7 @@
13 ROOTOBJDIR ?= obj
14 LIBDIR := $(ROOTDIR)/../lib
15 COMMONDIR := $(ROOTDIR)/../common
16 -NVIDIA_SDK_PATH := /opt/cuda/NVIDIA_CUDA_SDK
17 +NVIDIA_SDK_PATH := /usr/share/cuda-sdk
19 # Compilers
20 NVCC := $(CUDA_INSTALL_PATH)/bin/nvcc
21 @@ -99,7 +99,7 @@
22 -Wmain \
24 # Compiler-specific flags
25 -NVCCFLAGS :=
26 +NVCCFLAGS := --compiler-options "-fpermissive -fno-inline"
27 CXXFLAGS := $(CXXWARN_FLAGS)
28 CFLAGS := $(CWARN_FLAGS)