summaryrefslogtreecommitdiff
path: root/packaging/coreclr.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/coreclr.spec')
-rw-r--r--packaging/coreclr.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 18de9a8542..d5690beb2e 100644
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -79,11 +79,16 @@ Requires: libunwind
Requires: libuuid
# Accelerate python, clang
-%ifarch %{arm}
+%ifarch armv7l
BuildRequires: python-accel-armv7l-cross-arm
BuildRequires: clang-accel-armv7l-cross-arm
%endif
+%ifarch armv7hl
+BuildRequires: python-accel-armv7hl-cross-arm
+BuildRequires: clang-accel-armv7hl-cross-arm
+%endif
+
%ifarch aarch64
BuildRequires: python-accel-aarch64-cross-aarch64
BuildRequires: clang-accel-aarch64-cross-aarch64
@@ -242,7 +247,12 @@ export CFLAGS=$(echo $CFLAGS | sed -e 's/--target=i686/--target=i586/')
export CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/--target=i686/--target=i586/')
%else
%ifarch %{arm}
+%ifarch armv7l
%define _barch armel
+%endif
+%ifarch armv7hl
+%define _barch arm
+%endif
export CLANG_NO_LIBDIR_SUFFIX=1
%else