Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 413033d

Browse files
committed
common-apps: count multi-libs
1 parent e708414 commit 413033d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/common-apps-functions-source.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,8 @@ function test_gcc()
10491049
run_app "${APP_PREFIX}/bin/${GCC_TARGET}-gcc" -dumpversion
10501050
run_app "${APP_PREFIX}/bin/${GCC_TARGET}-gcc" -dumpmachine
10511051
run_app "${APP_PREFIX}/bin/${GCC_TARGET}-gcc" -print-multi-lib
1052-
run_app "${APP_PREFIX}/bin/${GCC_TARGET}-gcc" -dumpspecs | wc -l
1052+
"${APP_PREFIX}/bin/${GCC_TARGET}-gcc" -print-multi-lib | wc -l | sed -e 's| ||g'
1053+
run_app "${APP_PREFIX}/bin/${GCC_TARGET}-gcc" -dumpspecs
10531054

10541055
local tmp=$(mktemp /tmp/gcc-test.XXXXX)
10551056
rm -rf "${tmp}"

0 commit comments

Comments
 (0)