summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2019-09-11 07:54:23 +0200
committerThomas Haller <thaller@redhat.com>2019-10-01 09:49:33 +0200
commit23bd02110cbb99d102c2478a9ba8085d8ee6a9fb (patch)
tree857d62b90187eb3c03d3d3f299e2d0d8d8c84277
parent780585952d663f3701314843322937354cb6c016 (diff)
downloadNetworkManager-23bd02110cbb99d102c2478a9ba8085d8ee6a9fb.tar.gz
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.
-rw-r--r--src/dhcp/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dhcp/meson.build b/src/dhcp/meson.build
index 593e9d5ebc..609fe663ac 100644
--- a/src/dhcp/meson.build
+++ b/src/dhcp/meson.build
@@ -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,