summarylogtreecommitdiffstats
path: root/luabind-error-check.patch
blob: 7e541e6a26860e4a1b07a6702c886a93a969609d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/external/sources/luabind-0.7.1/meson.build b/external/sources/luabind-0.7.1/meson.build
index 850d386ef..7ca5460ad 100644
--- a/external/sources/luabind-0.7.1/meson.build
+++ b/external/sources/luabind-0.7.1/meson.build
@@ -20,12 +20,8 @@ elif cxx.get_argument_syntax() == 'msvc'
   cpp_options = ['cpp_std=vc++20']
 endif
 
-if (not get_option('debug')) or get_option('debug_type') == 'release'
-  luabind_args += ['-DLUABIND_NO_ERROR_CHECKING=1']
-endif
-
 luabind = static_library('luabind071', luabind_src, dependencies: luabind_dependencies, include_directories:luabind_include, cpp_args:cpp_args+ luabind_args, override_options: ['warning_level=0']+ cpp_options)
 
 luabind_dep = declare_dependency(link_with: luabind, dependencies: deps, include_directories: luabind_include, compile_args: luabind_args)