summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules4
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 62b1eb8..9bddfe2 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
automake,
c-compiler | gcc,
debhelper (>= 7),
- gcc-4.8 [powerpc powerpcspe sparc],
+ gcc-4.8 [powerpc powerpcspe sparc armel armhf] | gcc-4.7 [armel armhf],
ladspa-sdk,
libasound2-dev [linux-any],
libbluray-dev,
diff --git a/debian/rules b/debian/rules
index 06a1a0c..c7c825f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,9 @@
ifeq ($(DEB_HOST_ARCH_CPU),$(filter $(DEB_HOST_ARCH_CPU),powerpc sparc))
export CC=gcc-4.8 # fixes #73363
endif
-
+ifeq ($(DEB_HOST_ARCH_CPU),arm)
+ export CC=$(shell which gcc-4.8 || which gcc-4.7;)
+endif
# To enable parallel building:
# You can either set DEB_BUILD_OPTIONS=paralell=<num-procs> in your build environment
# or provide the -j<numprocs> option to debuild or dpkg-buildpackage, which