Skip to content

Commit 9229b97

Browse files
committed
test: align host flags with managed GNU header isolation
1 parent 0183ea3 commit 9229b97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/unit/test_hostflags.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ TEST(HostFlags, LinkModelStringsAreStable) {
118118
lm.systemIncludes = { "/glibc/include" };
119119

120120
EXPECT_EQ(lm.compile_flags(mcpp::toolchain::no_escape),
121-
" -isystem/glibc/include");
121+
" -nostdlibinc -isystem/glibc/include");
122122
EXPECT_EQ(lm.link_flags(mcpp::toolchain::no_escape),
123123
" -B/glibc/lib -L/glibc/lib -Wl,-rpath,/glibc/lib"
124124
" -Wl,--dynamic-linker=/glibc/lib/ld.so");

0 commit comments

Comments
 (0)