mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/x265: v8 fix
This commit is contained in:
parent
e49bf3f0e9
commit
3919498c66
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue