Skip to content

Commit c28dcfd

Browse files
author
Matthias Koeppe
committed
build/bin/sage-spkg: Compress initial C compiler info to just 1 line
1 parent e8cb318 commit c28dcfd

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

build/bin/sage-spkg

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -647,14 +647,8 @@ case "$PKG_SRC" in
647647
# Silence is golden.
648648
;;
649649
*)
650-
echo "****************************************************"
651-
echo "Host system:"
652-
uname -a
653-
echo "****************************************************"
654-
echo "C compiler: $CC"
655-
echo "C compiler version:"
656-
$CC -v
657-
echo "****************************************************"
650+
echo "Host system: $(uname -a)"
651+
echo "C compiler: $CC$($CC -v 2>&1 | while read -r line; do echo -n ", $line"; done)"
658652
;;
659653
esac
660654

0 commit comments

Comments
 (0)