diff --git a/srcpkgs/phantomjs/template b/srcpkgs/phantomjs/template index 2cac179693a..7d781fcb8f2 100644 --- a/srcpkgs/phantomjs/template +++ b/srcpkgs/phantomjs/template @@ -16,6 +16,12 @@ checksum=cc81249eaa059cc138414390cade9cb6509b9d6fa0df16f4f43de70b174b3bfe nopie=yes nocross=yes +case $XBPS_MACHINE in + i686*) # /usr/bin/ld: final link failed: memory exhausted + nodebug=yes + ;; +esac + do_configure() { sed -e "s|-O2|${CXXFLAGS}|" \ -i src/qt/qtbase/mkspecs/common/{g++,gcc}-base.conf