diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
index 9a026dec2a5..b1933953864 100644
--- a/srcpkgs/mongodb/template
+++ b/srcpkgs/mongodb/template
@@ -29,7 +29,7 @@ _scons_args=" --use-system-boost \
 	--disable-warnings-as-errors"
 build_options="systemd"
 # ETOOHUGE
-disable_debug=1
+nodebug=1
 
 do_configure() {
 	find . -name SConstruct -print0 | xargs -0 sed -i "s/-Werror/-Wno-error/g"
diff --git a/srcpkgs/webkitgtk/template b/srcpkgs/webkitgtk/template
index 05043065fdc..48f404068ac 100644
--- a/srcpkgs/webkitgtk/template
+++ b/srcpkgs/webkitgtk/template
@@ -12,7 +12,7 @@ distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
 checksum=f5cf26e39abf1d6b2d25f1398348fef6bbe6c03fb4f99e11c569091c05197d38
 
 # ETOOHUGE
-disable_debug=1
+nodebug=1
 
 hostmakedepends="automake libtool perl python pkg-config intltool gperf flex
  ruby glib-devel geoclue2 gtk-doc"