summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-03-01 17:21:50 +0000
committerjstebbins <[email protected]>2015-03-01 17:21:50 +0000
commitd5417252adb2c3413150762ac3f4f826d24d395d (patch)
tree45b3b74248f0ba1d85d56b20ed67ef87af1749da
parenta594dcbd58bb82135ad601238d91c92bfc7900a7 (diff)
x265: enable debug symbols when configured for debugging
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6955 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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