diff options
author | joerg <joerg> | 2015-03-31 15:55:44 +0000 |
---|---|---|
committer | joerg <joerg> | 2015-03-31 15:55:44 +0000 |
commit | ab66b0b52145289bc77537ea01b43c8700804ead (patch) | |
tree | 08f12532da888b17680ded9e8991003a7b14286d /www | |
parent | 78c5ebf92a6ae083ca3bc3285ad7b9596601adf1 (diff) | |
download | pkgsrc-ab66b0b52145289bc77537ea01b43c8700804ead.tar.gz |
Disable optimisations only when compiling for debugging.
Diffstat (limited to 'www')
-rw-r--r-- | www/webkit-gtk/Makefile.common | 3 | ||||
-rw-r--r-- | www/webkit-gtk/options.mk | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/www/webkit-gtk/Makefile.common b/www/webkit-gtk/Makefile.common index 674a90021b7..0d97dbdbf3a 100644 --- a/www/webkit-gtk/Makefile.common +++ b/www/webkit-gtk/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.39 2015/01/18 18:52:01 wiz Exp $ +# $NetBSD: Makefile.common,v 1.40 2015/03/31 15:55:44 joerg Exp $ # used by www/webkit-gtk/Makefile DISTNAME= webkitgtk-2.4.8 @@ -26,7 +26,6 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-x11-target \ --disable-geolocation \ - --disable-optimizations \ --disable-gtk-doc-html .include "options.mk" diff --git a/www/webkit-gtk/options.mk b/www/webkit-gtk/options.mk index 5d317f357c9..4d3eaa6bf7e 100644 --- a/www/webkit-gtk/options.mk +++ b/www/webkit-gtk/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.7 2014/09/17 17:35:23 macallan Exp $ +# $NetBSD: options.mk,v 1.8 2015/03/31 15:55:44 joerg Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk @@ -33,9 +33,11 @@ CONFIGURE_ARGS+= --disable-jit # debug support # .if !empty(PKG_OPTIONS:Mdebug) -CONFIGURE_ARGS+= --enable-debug +CONFIGURE_ARGS+= --enable-debug \ + --disable-optimizations .else -CONFIGURE_ARGS+= --disable-debug +CONFIGURE_ARGS+= --disable-debug \ + --enable-optimizations .endif # |