extra/x265: v8 fix

This commit is contained in:
Kevin Mihelich 2015-07-16 04:30:52 +00:00
parent e49bf3f0e9
commit 3919498c66

View file

@ -4,6 +4,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to attempt fixing ARM hackery by bandwagoning developers
# - compile with -fPIC on AArch64
pkgname=x265
pkgver=1.7
@ -28,6 +29,7 @@ prepare() {
build() {
cd multicoreware-x265-*/build/linux
[[ $CARCH == x86_64 ]] && LDFLAGS+=',-z,noexecstack'
[[ $CARCH == aarch64 ]] && CFLAGS+=' -fPIC' && CXXFLAGS+=' -fPIC'
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ../../source
make
}