build: Replace unnecessary get_compiler() call
We already have a variable with the compiler object. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3974>
This commit is contained in:
parent
60edafe3eb
commit
98e7197511
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ int main (int argc, char ** argv) {
|
|||
}
|
||||
''', name : 'timerfd_create(2) system call')
|
||||
|
||||
have_malloc_trim = meson.get_compiler('c').has_function('malloc_trim')
|
||||
have_malloc_trim = cc.has_function('malloc_trim')
|
||||
|
||||
have_documentation = get_option('docs')
|
||||
have_tests = get_option('tests').enable_auto_if(have_native_backend).enabled()
|
||||
|
|
Loading…
Reference in a new issue