[vlc-commits] [Git][videolan/vlc][master] contrib: disable asserts when optimization is enabled

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Oct 13 19:53:54 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
4ca4eb0c by Steve Lhomme at 2026-10-13T19:17:27+00:00
contrib: disable asserts when optimization is enabled

It was removed by 787d886450187b56176d74d4cb2e1c3f138cf174.
This is the equivalent of RelWithDebInfo in CMake and what we want in general.

- - - - -


1 changed file:

- contrib/src/main.mak


Changes:

=====================================
contrib/src/main.mak
=====================================
@@ -592,7 +592,7 @@ MESONFLAGS = $(BUILD_DIR) $< --default-library static --prefix "$(PREFIX)" \
 ifndef WITH_OPTIMIZATION
 MESONFLAGS += --buildtype debug
 else
-MESONFLAGS += --buildtype debugoptimized
+MESONFLAGS += --buildtype debugoptimized -Db_ndebug=true
 endif
 ifdef ENABLE_LTO
 MESONFLAGS += -Db_lto=true



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4ca4eb0c3e3d1181a48f1e216f4324c6e2670ef7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4ca4eb0c3e3d1181a48f1e216f4324c6e2670ef7
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list