diff options
Diffstat (limited to 'manual tests/9 nostdlib/meson.build')
-rw-r--r-- | manual tests/9 nostdlib/meson.build | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/manual tests/9 nostdlib/meson.build b/manual tests/9 nostdlib/meson.build index ad5b7b9..3ef743e 100644 --- a/manual tests/9 nostdlib/meson.build +++ b/manual tests/9 nostdlib/meson.build @@ -2,13 +2,9 @@ project('own libc', 'c') # A simple project that uses its own libc. -libc_proj = subproject('mylibc') -libc_dep = libc_proj.get_variable('mylibc_dep') - -exe = executable('selfcontained', 'prog.c', - c_args : '-nostdlib', - link_args : '-nostdlib', - dependencies : libc_dep, -) +# Note that we don't need to specify anything, the flags to use +# stdlib come from the cross file. + +exe = executable('selfcontained', 'prog.c') test('standalone test', exe) |