Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 11:27:38 +0000 (UTC)
From:      Philip Paeps <philip@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485999 - in head/www/cliqz: . files
Message-ID:  <201811271127.wARBRcQj070826@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: philip
Date: Tue Nov 27 11:27:38 2018
New Revision: 485999
URL: https://svnweb.freebsd.org/changeset/ports/485999

Log:
  www/cliqz: really fix the build on i386 (hopefully)
  
  Try harder to stop the linker from running out of memory on i386.
  
  Submitted by:	Santhosh Raju <santhosh.raju@gmail.com> (maintainer)

Modified:
  head/www/cliqz/Makefile
  head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig

Modified: head/www/cliqz/Makefile
==============================================================================
--- head/www/cliqz/Makefile	Tue Nov 27 09:36:59 2018	(r485998)
+++ head/www/cliqz/Makefile	Tue Nov 27 11:27:38 2018	(r485999)
@@ -96,7 +96,7 @@ post-patch:
 		${CLIQZ_DESKTOP}
 .if ${ARCH} == "i386"
 	# This prevents linker exhausting memory in i386 builds
-	@${ECHO_CMD} 'export LDFLAGS="-Wl,--no-keep-memory"' >> \
+	@${ECHO_CMD} 'export LDFLAGS="-Wl,--no-keep-memory -Wl,--as-needed"' >> \
 		${WRKSRC}/mozilla-release/browser/config/cliqz.mozconfig
 .endif
 

Modified: head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig
==============================================================================
--- head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig	Tue Nov 27 09:36:59 2018	(r485998)
+++ head/www/cliqz/files/patch-mozilla-release_browser_config_cliqz.mozconfig	Tue Nov 27 11:27:38 2018	(r485999)
@@ -1,12 +1,14 @@
 --- mozilla-release/browser/config/cliqz.mozconfig.orig	2018-11-16 08:40:07 UTC
 +++ mozilla-release/browser/config/cliqz.mozconfig
-@@ -10,6 +10,9 @@ ac_add_options --enable-official-brandin
+@@ -10,6 +10,11 @@ ac_add_options --enable-official-brandin
  ac_add_options --with-app-name=cliqz  # name for binaries
  ac_add_options --enable-crashreporter
  ac_add_options --enable-js-shell
 +ac_add_options --disable-crashreporter
 +ac_add_options --disable-updater
 +ac_add_options --disable-tests
- 
++ac_add_options --disable-debug
++ac_add_options --disable-debug-symbols
+
  export MOZ_APP_PROFILE=CLIQZ
  export MOZ_AUTOMATION_UPLOAD=1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811271127.wARBRcQj070826>