summaryrefslogtreecommitdiffstats
path: root/debian/helpers/getdefault.pl
diff options
context:
space:
mode:
Diffstat (limited to 'debian/helpers/getdefault.pl')
-rwxr-xr-xdebian/helpers/getdefault.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/helpers/getdefault.pl b/debian/helpers/getdefault.pl
index 0c12743..49ca758 100755
--- a/debian/helpers/getdefault.pl
+++ b/debian/helpers/getdefault.pl
@@ -7,6 +7,11 @@ use strict;
use Debian::Debhelper::Dh_Lib;
+if (hostarch() eq "ppc64") {
+ printf("gccgo-go\n");
+ exit 0;
+}
+
my %known_packages = map { $_ => 1 } getpackages('arch');
if (exists($known_packages{'golang-go'})) {
printf("golang-go\n");