Skip to content

Commit 943ebe2

Browse files
committed
build: Disable sysprof unconditionally in GLib
sysprof is unused and fails to build on several targets, so disable it for every machine in the GLib fallback options instead of only QNX. While here, order the options to follow GLib's meson.options, with the conditional ones grouped last in the same order.
1 parent 30c2760 commit 943ebe2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎meson.build‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,13 @@ glib_options = [
349349
'selinux=disabled',
350350
'xattr=false',
351351
'libmount=disabled',
352+
'sysprof=disabled',
352353
'tests=false',
353354
'nls=disabled',
354355
]
355356
if host_os_family in ['darwin', 'qnx', 'none'] or host_os == 'android' or libc == 'uclibc'
356357
glib_options += 'iconv=external'
357358
endif
358-
if host_os_family == 'qnx'
359-
glib_options += 'sysprof=disabled'
360-
endif
361359
if optimize_for_prod
362360
glib_options += [
363361
'glib_debug=disabled',

0 commit comments

Comments
 (0)