[gimp] build/win: Never build webkitgtk with debugging symbols.



commit a2cee5d589a5d7fe06e402d2982b3d42c94ea45e
Author: Michael Henning <drawoc darkrefraction com>
Date:   Wed Sep 18 20:02:03 2013 -0400

    build/win: Never build webkitgtk with debugging symbols.
    
    I've seen the dll take insane amounts of space (3.3 GB) with debug
    symbols on some compilers, and I doubt the symbols will be needed.

 build/windows/jhbuild/build.jhbuildrc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/build/windows/jhbuild/build.jhbuildrc b/build/windows/jhbuild/build.jhbuildrc
index c363f9e..77bf8e7 100644
--- a/build/windows/jhbuild/build.jhbuildrc
+++ b/build/windows/jhbuild/build.jhbuildrc
@@ -185,7 +185,8 @@ module_autogenargs['ghostscript']= autogenargs + """ --without-jasper \
 module_autogenargs['poppler']= autogenargs + """ ac_cv_func_strcpy_s='no'\
                                                  ac_cv_func_strcat_s='no' """
 
-module_autogenargs['webkitgtk']  = autogenargs + """ --with-gtk=2.0 \
+module_autogenargs['webkitgtk']  = autogenargs.replace ("--enable-debug=yes", "") + """ \
+                                                     --with-gtk=2.0 \
                                                      --with-target=win32 \
                                                      --disable-webkit2 \
                                                      --disable-geolocation \
@@ -222,7 +223,8 @@ module_extra_env.update (
 {'mingw32-pthreads': 
        {'PREFIX': prefix, 'INSTALL': 'install'},
  'webkitgtk':
-       {'CXXFLAGS': os.environ['CXXFLAGS'] + ' -I' + checkoutroot + 'pthreads-w32-2-9-1-release -w'},
+       {'CFLAGS': os.environ['CFLAGS'].replace ("-g", ""),
+        'CXXFLAGS': os.environ['CXXFLAGS'].replace ("-g", "") + ' -I' + checkoutroot + 
'pthreads-w32-2-9-1-release -w'},
  'libmng': 
        {'PREFIX': prefix, 'CFLAGS': os.environ['CFLAGS'] + os.environ['LDFLAGS']},
  'ghostscript':



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