summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/x265/module.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/x265/module.defs b/contrib/x265/module.defs
index 071f7a600..e01b0014a 100644
--- a/contrib/x265/module.defs
+++ b/contrib/x265/module.defs
@@ -11,6 +11,10 @@ X265.CONFIGURE.static =
X265.CONFIGURE.shared = -DENABLE_SHARED=OFF
X265.CONFIGURE.extra = -DENABLE_CLI=OFF -DHIGH_BIT_DEPTH=OFF
+ifneq (none,$(X265.GCC.g))
+ X265.CONFIGURE.extra += -DCMAKE_BUILD_TYPE=Debug
+endif
+
ifeq (1,$(BUILD.cross))
ifeq (mingw,$(BUILD.system))
X265.CONFIGURE.extra += -DWIN32=ON -DWINXP_SUPPORT=ON