sys-libs/compiler-rt: Remove unused /usr/lib/clang/*/lib lookup
authorMichał Górny <mgorny@gentoo.org>
Tue, 3 Jan 2017 22:07:43 +0000 (23:07 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 3 Jan 2017 22:09:32 +0000 (23:09 +0100)
sys-libs/compiler-rt/compiler-rt-9999.ebuild

index 614c6757497c84142c4e38b662516c1d6a206629..356ff8eea0fba9ff2a924938193bf0b1d8976ba8 100644 (file)
@@ -71,9 +71,6 @@ run_tests_for_abi() {
 src_test() {
        # prepare a test compiler
        local clang_version=4.0.0
-       local sys_dir=( "${EPREFIX}/usr/lib/clang/${clang_version}/lib"/* )
-       [[ -e ${sys_dir} ]] || die "Unable to find ${sys_dir}"
-       [[ ${#sys_dir[@]} -eq 1 ]] || die "Non-deterministic compiler-rt install: ${sys_dir[@]}"
 
        # copy clang over since resource_dir is located relatively to binary
        # therefore, we can put our new libraries in it