Browse Source

Dont use LTO, not worth the super long linking times for just 100kb

Signed-off-by: falkTX <falktx@falktx.com>
tags/2021-03-15
falkTX 1 year ago
parent
commit
09aeabcd0b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 2 additions and 9 deletions
  1. +0
    -7
      libs/juce-current/meson.build
  2. +0
    -2
      ports/meson.build
  3. +2
    -0
      ports/vitalium/meson.build

+ 0
- 7
libs/juce-current/meson.build View File

@@ -37,13 +37,6 @@ juce_current_extra_cpp_args = [
'-Wno-non-virtual-dtor',
]

if buildtype == 'release'
juce_current_extra_cpp_args += [
'-Ofast',
'-flto',
]
endif

if os_windows
juce_current_extra_cpp_args += [
'-D_NATIVE_WCHAR_T_DEFINED',


+ 0
- 2
ports/meson.build View File

@@ -51,9 +51,7 @@ build_flags_plugin_debug = [
]

build_flags_plugin_release = [
'-Ofast',
'-ffast-math',
'-flto',
]

build_flag_plugin_cpp = [


+ 2
- 0
ports/vitalium/meson.build View File

@@ -12,6 +12,8 @@ if buildtype == 'release'
'-ftree-vectorize',
'-ftree-slp-vectorize',
'-funroll-loops',
'-Ofast',
# '-flto',
]
endif



Loading…
Cancel
Save