Skip to content

Commit 67b11fe

Browse files
committed
Fix tre-x32 for win64 lto builds
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 699d534 commit 67b11fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bootstrap-jack2.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ if [ "${WIN64}" -eq 1 ]; then
157157
source setup/env.sh
158158
PAWPAW_BUILDDIR="${PAWPAW_DIR}/builds/win64"
159159
PAWPAW_PREFIX="${PAWPAW_DIR}/targets/win64"
160+
if [ -z "${PAWPAW_SKIP_LTO}" ] || [ "${PAWPAW_SKIP_LTO}" -eq 0 ]; then
161+
PAWPAW_BUILDDIR+="-lto"
162+
PAWPAW_PREFIX+="-lto"
163+
fi
160164
source setup/functions.sh
161165

162166
copy_download tre tre-x32 "${TRE_VERSION}"

0 commit comments

Comments
 (0)