updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cuda3-sdk / common.mk.patch
blob214bb71d90914baaaa3b0a96095a12533bfeb90d
1 --- pkg/sdk/C/common/common.mk.original 2010-10-04 16:48:11.244961770 +0200
2 +++ pkg/sdk/C/common/common.mk 2010-10-04 16:50:29.353206101 +0200
3 @@ -23,7 +23,7 @@
4 # Add new SM Versions here as devices with new Compute Capability are released
5 SM_VERSIONS := 10 11 12 13 20
7 -CUDA_INSTALL_PATH ?= /usr/local/cuda
8 +CUDA_INSTALL_PATH ?= /usr
10 ifdef cuda-install
11 CUDA_INSTALL_PATH := $(cuda-install)
12 @@ -101,7 +101,7 @@
13 # architecture flag for nvcc and gcc compilers build
14 CUBIN_ARCH_FLAG :=
15 CXX_ARCH_FLAGS :=
16 -NVCCFLAGS :=
17 +NVCCFLAGS := --compiler-options -fpermissive --compiler-bindir=/opt/gcc-4.4
18 LIB_ARCH := $(OSARCH)
20 # Determining the necessary Cross-Compilation Flags