diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-30 15:36:35 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:46 +0200 |
commit | 13fc6cf48d899de8424ca686e2718bb996667dc9 (patch) | |
tree | e4e0363d4782dbaca59977289dfb348b58096e73 | |
parent | d8ed00fe5bb4ae030975b07168683addc00749a5 (diff) | |
download | pkgbuilds-13fc6cf48d899de8424ca686e2718bb996667dc9.tar.xz |
weechat-git: add -fPIC to CFLAGS
With CMake 3.1 it fails to build without explicitly specifying -fPIC in
CFLAGS. Not sure if bug in WeeChat’s build system or in CMake
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Mon Jun 1 14:56:11 UTC 2015 pkgbase = weechat-git pkgdesc = Fast, light & extensible IRC client (curses UI) - pkgver = 1.0.r242.ge253a25 + pkgver = 1.1rc1.r12.gce98526 pkgrel = 1 url = http://www.weechat.org/ arch = i686 @@ -1,5 +1,5 @@ pkgname=weechat-git -pkgver=1.0.r242.ge253a25 +pkgver=1.1rc1.r12.gce98526 pkgrel=1 pkgdesc="Fast, light & extensible IRC client (curses UI)" @@ -27,6 +27,10 @@ pkgver(){ build() { cd weechat + + # https://github.com/weechat/weechat/issues/287 + export CFLAGS="$CFLAGS -fPIC" + cmake -DPREFIX=/usr \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so\ |