mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 02:10:17 +01:00
meson: Rename the compiler flags variable
Renamed the variable holding the compiler flags to be consistent with different meson ports. This naming pattern improves the use of different compiler flags in environments with multiple languages.
This commit is contained in:
parent
780585952d
commit
23bd02110c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
name = 'nm-dhcp-helper'
|
||||
|
||||
cflags = [
|
||||
c_flags = [
|
||||
'-DG_LOG_DOMAIN="@0@"'.format(name),
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_GLIB',
|
||||
]
|
||||
|
|
@ -9,7 +9,7 @@ executable(
|
|||
name,
|
||||
name + '.c',
|
||||
dependencies: glib_nm_default_dep,
|
||||
c_args: cflags,
|
||||
c_args: c_flags,
|
||||
link_args: ldflags_linker_script_binary,
|
||||
link_depends: linker_script_binary,
|
||||
install: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue