summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBreno Leitao <brenohl@br.ibm.com>2017-01-19 12:18:48 -0500
committerJakub Jirutka <jakub@jirutka.cz>2017-01-19 22:20:42 +0100
commitf41036ac3ae86a0511f3ee9071891f889200a1c7 (patch)
tree3bdfd0bd791586ece8fa1e79a887562143d4aa28
parent7301f84f2678141252b9fddc1e0ffbe6a11c17d5 (diff)
downloadabuild-f41036ac3ae86a0511f3ee9071891f889200a1c7.tar.bz2
abuild-f41036ac3ae86a0511f3ee9071891f889200a1c7.tar.xz
abuild: check for ppc64le on config.guess
Currently, if aarch64 exists in config.guess, it is not updated. This breaks spl, which has aarch64 entry, but not ppc64le. update_config_guess should update config.guess if any of those does not exists.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index d0bce33..ecd6fcc 100644
--- a/abuild.in
+++ b/abuild.in
@@ -525,7 +525,7 @@ update_config_sub() {
update_config_guess() {
local changed=false
find . -name config.guess | while read f; do
- if grep -q aarch64 "$f"; then
+ if grep -q aarch64 "$f" && grep -q ppc64le "$f"; then
msg "No update needed for $f"
else
msg "Updating $f"