Skip to content

Commit

Permalink
Merge pull request #886 from AppImage/patch/arch
Browse files Browse the repository at this point in the history
Use armhf and aarch64 as platform names
  • Loading branch information
TheAssassin authored Dec 5, 2018
2 parents 8ec39c1 + b7d15d0 commit 9d9d18e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/appimagetool.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ gchar* getArchName(bool* archs) {
else if (archs[fARCH_x86_64])
return "x86_64";
else if (archs[fARCH_arm])
return "ARM";
return "armhf";
else if (archs[fARCH_aarch64])
return "ARM_aarch64";
return "aarch64";
else
return "all";
}
Expand All @@ -321,12 +321,12 @@ void extract_arch_from_e_machine_field(int16_t e_machine, const gchar* sourcenam

if (e_machine == 40) {
archs[fARCH_arm] = 1;
fprintf(stderr, "%s used for determining architecture ARM\n", sourcename);
fprintf(stderr, "%s used for determining architecture armhf\n", sourcename);
}

if (e_machine == 183) {
archs[fARCH_aarch64] = 1;
fprintf(stderr, "%s used for determining architecture ARM aarch64\n", sourcename);
fprintf(stderr, "%s used for determining architecture aarch64\n", sourcename);
}
}

Expand Down

0 comments on commit 9d9d18e

Please sign in to comment.