File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 23
23
pkgname=(" ${MINGW_PACKAGE_PREFIX} -${_realname}${_pybasever} " )
24
24
fi
25
25
pkgver=${_pybasever} .8
26
- pkgrel=1
26
+ pkgrel=2
27
27
pkgdesc=" A high-level scripting language (mingw-w64)"
28
28
arch=(' any' )
29
29
mingw_arch=(' mingw32' ' mingw64' ' ucrt64' ' clang64' ' clangarm64' )
@@ -310,7 +310,7 @@ prepare() {
310
310
0119-mingw_smoketests-build-extension-in-a-venv.patch \
311
311
0120-venvlauncher-try-looking-for-the-versioned-.exe-firs.patch \
312
312
0121-fixup-CI-test-the-build-and-add-some-mingw-specific-.patch
313
-
313
+
314
314
autoreconf -vfi
315
315
}
316
316
@@ -321,7 +321,9 @@ build() {
321
321
# Upstream defaults to -O3, so we can do too
322
322
CFLAGS+=" -O3"
323
323
# FIXME: https://github.com/msys2-contrib/cpython-mingw/issues/10
324
- # _extra_config+=("--with-lto")
324
+ if [[ $MINGW_PACKAGE_PREFIX == * -clang-* ]]; then
325
+ _extra_config+=(" --with-lto" )
326
+ fi
325
327
else
326
328
CFLAGS+=" -O0 -ggdb"
327
329
CXXFLAGS+=" -O0 -ggdb"
You can’t perform that action at this time.
0 commit comments