1
0
Fork 0

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:
Florian Müllner 2024-08-22 18:40:20 +02:00 committed by Marge Bot
parent 60edafe3eb
commit 98e7197511

View file

@ -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()