Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/glibc/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index 30370bd8..8d191e6e 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -12,6 +12,7 @@ eval "$(
s/.*/}/
q
}
+ s@--enable-multi-arch@--disable-multi-arch@
'
declare -f package_glibc | \
sed '
@@ -21,3 +22,29 @@ eval "$(
s,STRIP_STATIC ,\0usr/lib/libm.a ,
'
)"
+
+# 486-specific
+
+# no gd for memory profiles
+makedepends=(${makedepends[@]//gd/})
+makedepends_i686=('gd'})
+
+if [ "${CARCH}" = "i486" ]; then
+
+ # disable testing for now, we run out of memory
+ eval "$(
+ declare -f check | \
+ sed '
+ /make check/d
+ '
+ )"
+
+ # disable CET (Control Flow instructions endbr32/enbr64)
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-cet/--disable-cet/
+ '
+ )"
+
+fi