updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cuda-sdk-gcc34 / common.mk.x86_64.patch
blobc9cd0a0dd6f5853f86347b1f6b1c462a89db7356
1 --- common.mk 2008-12-16 05:33:20.000000000 +0100
2 +++ common.x86_64.mk 2009-02-02 12:59:58.000000000 +0100
3 @@ -70,7 +70,7 @@
4 INCLUDES += -I. -I$(CUDA_INSTALL_PATH)/include -I$(COMMONDIR)/inc
6 # architecture flag for cubin build
7 -CUBIN_ARCH_FLAG := -m32
8 +CUBIN_ARCH_FLAG := -m64
10 # Warning flags
11 CXXWARN_FLAGS := \
12 @@ -86,6 +86,7 @@
13 -Wcast-align \
14 -Wreturn-type \
15 -Wno-unused-function \
16 + -m64 \
17 $(SPACE)
19 CWARN_FLAGS := $(CXXWARN_FLAGS) \
20 @@ -122,7 +123,7 @@
21 #NVCCFLAGS += $(SMVERSIONFLAGS)
23 # architecture flag for cubin build
24 -CUBIN_ARCH_FLAG := -m32
25 +CUBIN_ARCH_FLAG := -m64
27 # detect if 32 bit or 64 bit system
28 HP_64 = $(shell uname -m | grep 64)