diff options
author | Johan PONIN | 2015-12-26 19:13:47 +0100 |
---|---|---|
committer | Johan PONIN | 2015-12-26 19:13:47 +0100 |
commit | a52f51b12249c832cd44f34b978b0e3d9b9a32bf (patch) | |
tree | ad57707831abda36bbf2cb350bfc86eddde961ee | |
parent | bb0a7014a5fbc2823f358ee2d23886a9d6f50955 (diff) | |
download | aur-a52f51b12249c832cd44f34b978b0e3d9b9a32bf.tar.gz |
now using PIC
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,7 @@ pkgname=libbpg pkgver=0.9.6 -pkgrel=1 +pkgrel=2 pkgdesc='BPG Image Encoder and Decoder' arch=('x86_64' 'i686') url='http://bellard.org/bpg/' @@ -16,6 +16,7 @@ options=('staticlibs') prepare() { sed -i 's/$(CMAKE_OPTS)/$(CMAKE_OPTS) -DENABLE_LIBNUMA=OFF/' "$pkgname-$pkgver/Makefile" + sed -i 's/^CFLAGS+=-I.$/CFLAGS+=-I. -fPIC/' "$pkgname-$pkgver/Makefile" } build() { |