power: make ethdev power management thread unsafe
[dpdk.git] / lib / power / meson.build
index 36e5a65..bf937ac 100644 (file)
@@ -22,4 +22,7 @@ headers = files(
         'rte_power_pmd_mgmt.h',
         'rte_power_guest_channel.h',
 )
+if cc.has_argument('-Wno-cast-qual')
+    cflags += '-Wno-cast-qual'
+endif
 deps += ['timer', 'ethdev']