diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/wiringpi/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/community/wiringpi/APKBUILD b/community/wiringpi/APKBUILD index dc8baa6fea..327b1609c4 100644 --- a/community/wiringpi/APKBUILD +++ b/community/wiringpi/APKBUILD @@ -2,7 +2,7 @@ pkgname=wiringpi pkgver=2.46 _commitid=8d188fa -pkgrel=1 +pkgrel=2 pkgdesc="command line interface for Raspberry Pi gpio" url="http://wiringpi.com/the-gpio-utility/" arch="armhf armv7" @@ -19,9 +19,9 @@ builddir="$srcdir"/wiringPi-$_commitid build() { cd "$builddir" - make -C wiringPi CFLAGS="$CFLAGS -I." LDFLAGS="$LDFLAGS" WIRINGPI_SONAME_SUFFIX=".$pkgver" + make -C wiringPi CFLAGS="$CFLAGS -fpic -I." LDFLAGS="$LDFLAGS" WIRINGPI_SONAME_SUFFIX=".$pkgver" ln -sf libwiringPi.so.$pkgver wiringPi/libwiringPi.so - make -C devLib CFLAGS="$CFLAGS -I../wiringPi" LDFLAGS="$LDFLAGS" WIRINGPI_SONAME_SUFFIX=".$pkgver" + make -C devLib CFLAGS="$CFLAGS -fpic -I../wiringPi" LDFLAGS="$LDFLAGS" WIRINGPI_SONAME_SUFFIX=".$pkgver" ln -sf libwiringPiDev.so.$pkgver devLib/libwiringPiDev.so make -C gpio CFLAGS="$CFLAGS -I../wiringPi -I../devLib" LDFLAGS="$LDFLAGS -L../wiringPi -L../devLib" } |