]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/mlx5/meson.build
common/mlx5: remove NDEBUG
[dpdk.git] / drivers / common / mlx5 / meson.build
index fdd1e8534a1c3431ca989dd99139272633a906b4..2b704107cd49a26ab933bf1609cfa7e651506fcd 100644 (file)
@@ -60,9 +60,9 @@ if build
                endif
        endforeach
        if get_option('buildtype').contains('debug')
-               cflags += [ '-pedantic', '-UNDEBUG', '-DPEDANTIC' ]
+               cflags += [ '-pedantic', '-DPEDANTIC' ]
        else
-               cflags += [ '-DNDEBUG', '-UPEDANTIC' ]
+               cflags += [ '-UPEDANTIC' ]
        endif
        # To maintain the compatibility with the make build system
        # mlx5_autoconf.h file is still generated.