bloatpad: Pass common_cflags to the build

This commit is contained in:
Timm Bäder 2020-05-18 13:37:23 +02:00
parent 14c3bc542d
commit 17c7662a6c
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ typedef struct
typedef GtkApplicationClass BloatPadClass;
GType bloat_pad_get_type (void);
G_DEFINE_TYPE (BloatPad, bloat_pad, GTK_TYPE_APPLICATION)
static void

View File

@ -2,4 +2,4 @@ bp_resources = gnome.compile_resources('bloatpad_resources',
'bloatpad.gresources.xml',
source_dir: '.')
executable('bloatpad', 'bloatpad.c', bp_resources, dependencies: libgtk_dep)
executable('bloatpad', 'bloatpad.c', bp_resources, dependencies: libgtk_dep, c_args: common_cflags)