dpkg to report ppc64el archi and not ppc64le
This is required for project "openSUSE:42:SLE12-Picks"
that is still based on dpkg_1.16.10.tar.xz
This is required at least to avoid pbuilder failure
on ppc64le architecture.
Note that tumbleweed already have this change
as based on dpkg_1.18.1.tar.xz
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
mipsel mipsel mipsel 32 little
powerpc powerpc (powerpc|ppc) 32 big
ppc64 powerpc64 (powerpc|ppc)64 64 big
+ppc64el powerpc64le (powerpc|ppc)64le 64 little
s390 s390 s390 32 big
s390x s390x s390x 64 big
sh3 sh3 sh3 32 little
} elsif ($hook eq "update-buildflags") {
my $flags = shift @params;
- if (debarch_eq(get_host_arch(), 'ppc64')) {
+ if (debarch_eq(get_host_arch(), 'ppc64el')) {
for my $flag (qw(CFLAGS CXXFLAGS FFLAGS)) {
$flags->set($flag, '-g -O3', 'vendor');
}