forked from pool/openafs
Accepting request 639066 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix build for aarch64 OBS-URL: https://build.opensuse.org/request/show/639066 OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=30
This commit is contained in:
parent
ca0fd16660
commit
58e3df498f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 28 12:47:02 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Fix build for aarch64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 12 12:37:15 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
Wed Sep 12 12:37:15 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
# needssslcertforbuild
|
# needssslcertforbuild
|
||||||
|
|
||||||
@ -326,6 +326,7 @@ sysbase=arm
|
|||||||
%endif
|
%endif
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
sysbase=arm64
|
sysbase=arm64
|
||||||
|
%define _arch arm64
|
||||||
%endif
|
%endif
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
sysbase=s390
|
sysbase=s390
|
||||||
@ -373,7 +374,9 @@ for flavor in %flavors_to_build; do
|
|||||||
./configure --with-linux-kernel-build=/usr/src/linux-obj/%{_target_cpu}/$flavor --with-linux-kernel-headers=/usr/src/linux \
|
./configure --with-linux-kernel-build=/usr/src/linux-obj/%{_target_cpu}/$flavor --with-linux-kernel-headers=/usr/src/linux \
|
||||||
--disable-transarc-paths
|
--disable-transarc-paths
|
||||||
export EXTRA_CFLAGS='-DVERSION=\"%version\"'
|
export EXTRA_CFLAGS='-DVERSION=\"%version\"'
|
||||||
|
%ifnarch aarch64
|
||||||
export KCFLAGS='-mindirect-branch=thunk-inline -mindirect-branch-register'
|
export KCFLAGS='-mindirect-branch=thunk-inline -mindirect-branch-register'
|
||||||
|
%endif
|
||||||
export LINUX_MAKE_ARCH="ARCH=%{_arch}"
|
export LINUX_MAKE_ARCH="ARCH=%{_arch}"
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user