From 7707d2ff337fa4bc9e7273d9eead6641a7a49208 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 23 Sep 2016 20:35:15 -0700 Subject: 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 --- check/check-sysroot | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3