[gimp] build/win: Include gdb and debug info in all builds.



commit 8b42761414a8bae32ca281c178a04d9e55b1ecde
Author: Michael Henning <drawoc darkrefraction com>
Date:   Mon Dec 9 14:59:12 2013 -0500

    build/win: Include gdb and debug info in all builds.

 build/windows/jhbuild/build.jhbuildrc |    7 ++-----
 build/windows/jhbuild/gimp.moduleset  |    1 +
 2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/build/windows/jhbuild/build.jhbuildrc b/build/windows/jhbuild/build.jhbuildrc
index 2874c25..12ca353 100644
--- a/build/windows/jhbuild/build.jhbuildrc
+++ b/build/windows/jhbuild/build.jhbuildrc
@@ -19,15 +19,12 @@ flavour = os.environ.get('BUILD_FLAVOUR', 'rls')
 
 if flavour == 'rls':
         flavour_ext = ''
-        flavour_opt = '--enable-debug=no'
-        flavour_cflags = ""
+        flavour_opt = ''
+        flavour_cflags = " -g "
 else:
         flavour_ext = '-dbg'
         flavour_opt = "--enable-debug=yes"
         flavour_cflags = " -g -O0 "
-        if module == 'gimp-common':
-                modules.append ("gdb")
-
 
 # checkoutroot: path to download packages elsewhere
 # prefix:       target path to install the compiled binaries
diff --git a/build/windows/jhbuild/gimp.moduleset b/build/windows/jhbuild/gimp.moduleset
index 80d1b14..bbcd205 100644
--- a/build/windows/jhbuild/gimp.moduleset
+++ b/build/windows/jhbuild/gimp.moduleset
@@ -47,6 +47,7 @@
        <suggests>
                <dep package="webkitgtk"/>
                <dep package="libmng"/>
+               <dep package="gdb"/>
        </suggests>
 </metamodule>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]