]> granicus.if.org Git - handbrake/commitdiff
x265: enable debug symbols when configured for debugging
authorjstebbins <jstebbins.hb@gmail.com>
Sun, 1 Mar 2015 17:21:50 +0000 (17:21 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sun, 1 Mar 2015 17:21:50 +0000 (17:21 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6955 b64f7644-9d1e-0410-96f1-a4d463321fa5

contrib/x265/module.defs

index 071f7a60012fe08fe910182e952bb420769a0ace..e01b0014a43e858e1fca594a34b991dc3e394072 100644 (file)
@@ -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