diff options
author | xsmile | 2021-07-18 15:59:33 +0200 |
---|---|---|
committer | xsmile | 2021-07-18 15:59:33 +0200 |
commit | 3d484e5f21a16b8687968b9cdfec2429ede55525 (patch) | |
tree | e8d5d0f374b8dd062620e8a16e2a4508813c37f8 | |
parent | b0e1df4e04da2a4bbdc6c89dcf7dd97d3967ea6d (diff) | |
download | aur-3d484e5f21a16b8687968b9cdfec2429ede55525.tar.gz |
switch to Clang to avoid GCC compilation issues
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -5,6 +5,7 @@ pkgbase = rtorrent-ps url = https://github.com/pyroscope/rtorrent-ps arch = any license = GPL + makedepends = clang depends = curl depends = libtorrent-ps depends = ncurses @@ -73,4 +74,3 @@ pkgbase = rtorrent-ps md5sums = 0a2bbaf74c7160ba33876dcc2f050f14 pkgname = rtorrent-ps - @@ -10,6 +10,7 @@ url='https://github.com/pyroscope/rtorrent-ps' license=('GPL') arch=('any') depends=('curl' 'libtorrent-ps' 'ncurses' 'xmlrpc-c') +makedepends=('clang') provides=('rtorrent') conflicts=('rtorrent') source=("https://github.com/rakshasa/$_pkgname/archive/v$_pkgver.tar.gz" @@ -111,6 +112,10 @@ prepare() { build() { cd "$srcdir/$_pkgname-$_pkgver" + # Workaround for GCC compilation issues + export CC=/usr/bin/clang + export CXX=/usr/bin/clang++ + ./configure \ --prefix=/usr \ --with-xmlrpc-c \ |