From d5417252adb2c3413150762ac3f4f826d24d395d Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 1 Mar 2015 17:21:50 +0000 Subject: x265: enable debug symbols when configured for debugging git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6955 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- contrib/x265/module.defs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/x265') 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 -- cgit v1.2.3