From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/z3/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 extra/z3/PKGBUILD (limited to 'extra/z3') diff --git a/extra/z3/PKGBUILD b/extra/z3/PKGBUILD new file mode 100644 index 00000000..7b727e00 --- /dev/null +++ b/extra/z3/PKGBUILD @@ -0,0 +1,9 @@ +# LTO on i486 results in out-of-memory +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-DZ3_LINK_TIME_OPTIMIZATION=1/-DZ3_LINK_TIME_OPTIMIZATION=0/ + ' + )" +fi -- cgit v1.2.3-70-g09d2