From ab66b0b52145289bc77537ea01b43c8700804ead Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 31 Mar 2015 15:55:44 +0000 Subject: Disable optimisations only when compiling for debugging. --- www/webkit-gtk/Makefile.common | 3 +-- www/webkit-gtk/options.mk | 8 +++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'www') 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 # -- cgit v1.2.3