Skip to content

Commit

Permalink
Add am_cflags to ignore poorly generated C code from vala. Resolves #194
Browse files Browse the repository at this point in the history
.
  • Loading branch information
JoshStrobl committed Mar 24, 2024
1 parent a040ccb commit 5701fa2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ project(
],
)

# Vala generates bad C code and missing these on gcc 14 will cause FTBFS
am_cflags = [
'-Wno-incompatible-pointer-types',
'-Wno-implicit-function-declaration',
]
add_global_arguments(am_cflags, language: 'c')

budgie_screensaver = find_program('budgie-screensaver', required: false)
gnome_screensaver = find_program('gnome-screensaver', required: false)
with_gnome_screensaver = get_option('with-gnome-screensaver')
Expand Down

0 comments on commit 5701fa2

Please sign in to comment.