Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/libmysofa/PKGBUILD5
-rw-r--r--community/nodejs/PKGBUILD10
2 files changed, 15 insertions, 0 deletions
diff --git a/community/libmysofa/PKGBUILD b/community/libmysofa/PKGBUILD
index e69de29b..6b978deb 100644
--- a/community/libmysofa/PKGBUILD
+++ b/community/libmysofa/PKGBUILD
@@ -0,0 +1,5 @@
+# no nodejs on i486, used only in tests
+if [ "$CARCH" == 'i486' ]; then
+ checkdepends=(${checkdepends[@]//nodejs/})
+ unset check
+fi
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index 78f686cc..efbf8000 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -5,3 +5,13 @@ eval "$(
s|./configure|./configure --dest-cpu ia32|g
'
)"
+
+# linker runs out of memory on 32-bit
+eval "$(
+ declare -f build | \
+ sed '
+ 3 i LDFLAGS+=" -Wl,--no-keep-memory"
+ 3 i CFLAGS+=" -g1"
+ 3 i CXXFLAGS+=" -g1"
+ '
+)"