index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-10-15 14:46:55 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-15 14:46:55 +0200 |
commit | b233246a4e7bb7a2ac9c1f95478e70ae91fe0817 (patch) | |
tree | c2b47b8b85e35959d8c3db8807f87c6de11ff4d2 /extra/mono/PKGBUILD | |
parent | 6f58ad32e05024b7f70435ccf9912308c2163271 (diff) |
-rw-r--r-- | extra/mono/PKGBUILD | 14 |
diff --git a/extra/mono/PKGBUILD b/extra/mono/PKGBUILD new file mode 100644 index 00000000..bccd03b7 --- /dev/null +++ b/extra/mono/PKGBUILD @@ -0,0 +1,14 @@ +if [ "$CARCH" = 'i486' ]; then + # these atomics are unavailable on i486, but that is not detected (?) + eval "$( + declare -f prepare | \ + sed ' + /^}$/ i \ + sed -i '"'"' \ + /#define BROKEN_64BIT_ATOMICS_INTRINSIC 1/ i \\\ + #endif \\\ + #if true \ + '"'"' mono/utils/atomic.h + ' + )" +fi |