From dc01853850a556477dbdede416136733ace9bd01 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 5 Mar 2023 11:01:29 +0100 Subject: extra/clisp: disabled LTO on all platforms, added 4-byte alignment patch from voidlinux --- extra/clisp/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/clisp/PKGBUILD (limited to 'extra/clisp') diff --git a/extra/clisp/PKGBUILD b/extra/clisp/PKGBUILD new file mode 100644 index 00000000..16aecfee --- /dev/null +++ b/extra/clisp/PKGBUILD @@ -0,0 +1,18 @@ +# no LTO +sed -i " + /^options=/ a options+=('!lto') +" PKGBUILD +eval "$( + declare -f build | \ + sed ' + s/-ffat-lto-objects// + ' +)" + +# alignment of function (from VoidLinux) +eval "$( + declare -f build | \ + sed ' + s|./configure|CFLAGS+=" -falign-functions=4" ./configure| + ' +)" -- cgit v1.2.3-70-g09d2