]> git.droids-corp.org - dpdk.git/blobdiff - drivers/event/dsw/meson.build
net/igc: fix build with gcc optimization level 0
[dpdk.git] / drivers / event / dsw / meson.build
index a3d09eef342c03f15f3fec42712c6368e163fa9c..60ab13d906122ae8cd629bd0a3879dad70a76f0c 100644 (file)
@@ -2,4 +2,7 @@
 # Copyright(c) 2018 Ericsson AB
 
 deps += ['bus_vdev']
 # Copyright(c) 2018 Ericsson AB
 
 deps += ['bus_vdev']
+if cc.has_argument('-Wno-format-nonliteral')
+       cflags += '-Wno-format-nonliteral'
+endif
 sources = files('dsw_evdev.c', 'dsw_event.c', 'dsw_xstats.c')
 sources = files('dsw_evdev.c', 'dsw_event.c', 'dsw_xstats.c')