There was an error while loading. Please reload this page.
1 parent 74fc562 commit 9f43656Copy full SHA for 9f43656
1 file changed
build.sh
@@ -190,8 +190,13 @@ if [[ "${build_type}" = 'arm'* ]]; then
190
lto_partition='balanced'
191
fi
192
193
-declare -r ltoflags="-flto -fno-fat-lto-objects -flto-partition=${lto_partition} -flto-compression-level=0 -fdevirtualize-at-ltrans -fuse-linker-plugin"
194
-declare -r ltolinkflags='-flto'
+if [[ "${build_type}" = *'openbsd' ]]; then
+ declare -r ltoflags=''
195
+ declare -r ltolinkflags=''
196
+else
197
+ declare -r ltoflags="-flto -fno-fat-lto-objects -flto-partition=${lto_partition} -flto-compression-level=0 -fdevirtualize-at-ltrans -fuse-linker-plugin"
198
+ declare -r ltolinkflags='-flto'
199
+fi
200
201
if ! [ -f "${gmp_tarball}" ]; then
202
curl \
0 commit comments