Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=98436e1a0465c57c775e301631f419814b2ededb

commit 98436e1a0465c57c775e301631f419814b2ededb
Author: crazy <[email protected]>
Date:   Sat Aug 6 03:02:17 2016 +0200

freeorion-0.4.5-3-x86_64
* try to workaround out-of-mem on 32bit

diff --git a/source/games-extra/freeorion/FrugalBuild 
b/source/games-extra/freeorion/FrugalBuild
index 7d0b9d2..e422b1f 100644
--- a/source/games-extra/freeorion/FrugalBuild
+++ b/source/games-extra/freeorion/FrugalBuild
@@ -28,6 +28,11 @@ 
source=("https://github.com/freeorion/freeorion/releases/download/v${pkgver}/Fre
sha1sums=('34a627dc6c8ceda3bdfafe11a21d46506bbe1635')

build() {
+
+       if [ "$CARCH" == "i686" ]; then
+                LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+        fi
+
CMake_build

Fmkdir etc/ld.so.conf.d
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to