Browse Source

jack2 cannot be built with LTO right now

Signed-off-by: falkTX <falktx@falktx.com>
pull/25/head
falkTX 3 years ago
parent
commit
c837c556cf
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      bootstrap-jack2.sh

+ 15
- 0
bootstrap-jack2.sh View File

@@ -72,6 +72,11 @@ function build_custom_db() {
extraconfrules+=" --enable-mingw"
fi

# TODO jack2 cannot be built with LTO right now
export EXTRA_CFLAGS="-fno-lto"
export EXTRA_CXXFLAGS="-fno-lto"
export EXTRA_LDFLAGS="-fno-lto"

_prebuild "${name}" "${pkgdir}"

if [ ! -f "${pkgdir}/.stamp_configured" ]; then
@@ -143,6 +148,11 @@ fi
# tre (win32 only)

if [ "${WIN32}" -eq 1 ]; then
# TODO jack2 cannot be built with LTO right now
export EXTRA_CFLAGS="-fno-lto"
export EXTRA_CXXFLAGS="-fno-lto"
export EXTRA_LDFLAGS="-fno-lto"

download tre "${TRE_VERSION}" "${TRE_URL}" "" "git"
build_autoconfgen tre "${TRE_VERSION}" "--disable-nls"
fi
@@ -159,6 +169,11 @@ if [ "${WIN64}" -eq 1 ]; then
PAWPAW_PREFIX="${PAWPAW_DIR}/targets/win64"
source setup/functions.sh

# TODO jack2 cannot be built with LTO right now
export EXTRA_CFLAGS="-fno-lto"
export EXTRA_CXXFLAGS="-fno-lto"
export EXTRA_LDFLAGS="-fno-lto"

copy_download tre tre-x32 "${TRE_VERSION}"
build_autoconfgen tre-x32 "${TRE_VERSION}" "--disable-nls --libdir=${PAWPAW_PREFIX}/lib32"



Loading…
Cancel
Save