diff options
author | Omar Pakker | 2017-07-16 18:56:51 +0200 |
---|---|---|
committer | Omar Pakker | 2017-07-16 18:56:51 +0200 |
commit | 0dc0253c4cee236eca1289aafae8fdce7d81fac5 (patch) | |
tree | 3426f421542158bd78f5814c8201978becaa6d48 | |
parent | b5df327bbda73117ed3ac586c7218550daefb355 (diff) | |
download | aur-0dc0253c4cee236eca1289aafae8fdce7d81fac5.tar.gz |
Ensure nvcc creates shared objects. Required now that GCC and Clang have enabled PIE by default.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = ccminer-git pkgdesc = Coin miner using CUDA for nVidia GPUs. - pkgver = r866.05abaf2 + pkgver = r876.5aa50a4 pkgrel = 1 url = http://ccminer.org/ arch = x86_64 @@ -1,7 +1,7 @@ -# Maintainer: Omar Pakker <omar.pakker@oracle.com> +# Maintainer: Omar Pakker <archlinux@opakker.nl> pkgname=ccminer-git -pkgver=r866.05abaf2 +pkgver=r876.5aa50a4 pkgrel=1 pkgdesc="Coin miner using CUDA for nVidia GPUs." arch=('x86_64') @@ -28,6 +28,7 @@ build() { ./autogen.sh ./configure CPPFLAGS='-I/usr/include/openssl-1.0' LDFLAGS='-L/usr/lib/openssl-1.0' \ + CUDA_CFLAGS='--shared --compiler-options "-fPIC"' \ --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --with-cuda=/opt/cuda make |