diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2016-09-23 20:35:15 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2017-03-20 07:13:23 -0500 |
commit | 7707d2ff337fa4bc9e7273d9eead6641a7a49208 (patch) | |
tree | 8118e4532766ddab7d6be7c11da76d4b3a2bad56 | |
parent | a737256219bc8c2c24da917ce5caa184efa26b90 (diff) |
check: Include special-flags in sysroot test
Make sure that the sysroot behavior works right when we have non-I/L
flags to consider.
https://bugs.freedesktop.org/show_bug.cgi?id=97337
-rwxr-xr-x | check/check-sysroot | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/check/check-sysroot b/check/check-sysroot index 7b72ed9..43d0b5b 100755 --- a/check/check-sysroot +++ b/check/check-sysroot @@ -30,3 +30,9 @@ run_test --cflags public-dep RESULT="-L$root/sysroot/public-dep/lib -lpublic-dep" run_test --libs public-dep + +RESULT="-g -isystem /system1 -idirafter /after1 -ffoo -idirafter /after2 -isystem /system2 -I$root/sysroot/foo -I$root/sysroot/bar" +run_test --cflags special-flags + +RESULT="-L$root/sysroot/foo -L$root/sysroot/bar -framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz" +run_test --libs special-flags |