build: disable experimental API check internally
[dpdk.git] / drivers / net / mlx5 / meson.build
index e10ef3a..928663a 100644 (file)
@@ -8,7 +8,6 @@ if not is_linux
        subdir_done()
 endif
 
-allow_experimental_apis = true
 deps += ['hash', 'common_mlx5']
 sources = files(
        'mlx5.c',
@@ -19,7 +18,6 @@ sources = files(
        'mlx5_flow_verbs.c',
        'mlx5_mac.c',
        'mlx5_mr.c',
-       'mlx5_nl.c',
        'mlx5_rss.c',
        'mlx5_rxmode.c',
        'mlx5_rxq.c',
@@ -50,7 +48,7 @@ foreach option:cflags_options
        endif
 endforeach
 if get_option('buildtype').contains('debug')
-       cflags += [ '-pedantic', '-UNDEBUG', '-DPEDANTIC' ]
+       cflags += [ '-pedantic', '-DPEDANTIC' ]
 else
-       cflags += [ '-DNDEBUG', '-UPEDANTIC' ]
+       cflags += [ '-UPEDANTIC' ]
 endif