diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-11 07:03:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-11 07:03:57 +0000 |
commit | bdfc7e8eda8d9eb85f1f0b712ebcb6cabb147ad7 (patch) | |
tree | 6bd6aa8bd0ee7646af01c5ec3876f6cfc59c7fe0 /eclass/tests | |
parent | raw-ldflags: throw away flags that do not start with -Wl, #441808 (diff) | |
download | historical-bdfc7e8eda8d9eb85f1f0b712ebcb6cabb147ad7.tar.gz historical-bdfc7e8eda8d9eb85f1f0b712ebcb6cabb147ad7.tar.bz2 historical-bdfc7e8eda8d9eb85f1f0b712ebcb6cabb147ad7.zip |
fix test failure after letting -L flags stay in LDFLAGS when stripping
Diffstat (limited to 'eclass/tests')
-rwxr-xr-x | eclass/tests/flag-o-matic.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/tests/flag-o-matic.sh b/eclass/tests/flag-o-matic.sh index 7b4e2acb2224..fcac1b3739db 100755 --- a/eclass/tests/flag-o-matic.sh +++ b/eclass/tests/flag-o-matic.sh @@ -57,7 +57,7 @@ strip-unsupported-flags ftend for var in $(all-flag-vars) ; do - eval ${var}=\"-filter -filter-glob -${var%FLAGS}\" + eval ${var}=\"-filter -filter-glob -foo-${var%FLAGS}\" done tbegin "filter-flags basic" @@ -65,7 +65,7 @@ filter-flags -filter ( for var in $(all-flag-vars) ; do val=${!var} - [[ ${val} == "-filter-glob -${var%FLAGS}" ]] || exit 1 + [[ ${val} == "-filter-glob -foo-${var%FLAGS}" ]] || exit 1 done ) ftend @@ -75,7 +75,7 @@ filter-flags '-filter-*' ( for var in $(all-flag-vars) ; do val=${!var} - [[ ${val} == "-${var%FLAGS}" ]] || exit 1 + [[ ${val} == "-foo-${var%FLAGS}" ]] || exit 1 done ) ftend |