From a2cee5d589a5d7fe06e402d2982b3d42c94ea45e Mon Sep 17 00:00:00 2001 From: Michael Henning Date: Wed, 18 Sep 2013 20:02:03 -0400 Subject: [PATCH] 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 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/windows/jhbuild/build.jhbuildrc b/build/windows/jhbuild/build.jhbuildrc index c363f9e9a3..77bf8e780c 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':