]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: remove libgcc from config test results
authorKarel Zak <kzak@redhat.com>
Wed, 10 Oct 2012 12:45:58 +0000 (14:45 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Oct 2012 12:45:58 +0000 (14:45 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/build-sys/config

index e2c2b00f8678b062d99754deba8126e2cd7f6abf..443b69ff3865faef66cc854692e07fca4df697be 100755 (executable)
@@ -36,7 +36,7 @@ for conf in $config_gen_dir/config-gen.d/*.conf; do
        for b in $bins; do
                libs=$(readelf --dynamic $b 2> /dev/null   | \
                        awk '/NEEDED/ { print $5 }' | \
-                       sed 's:\[::g; s:\..*::g; s:libc::g' | \
+                       sed 's:\[::g; s:\..*::g; s:libc::g; s:.*gcc.*::g' | \
                        sort -u | tr '\n' ' ')
 
                if [ -n "$libs" ]; then