Browse Source

Tweak build flags, experimental

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

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

@@ -37,6 +37,13 @@ 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',


+ 2
- 0
ports/meson.build View File

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

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

build_flag_plugin_cpp = [


+ 7
- 4
ports/vitalium/meson.build View File

@@ -6,11 +6,14 @@ plugin_extra_build_flags = [
'-Wno-sign-compare',
'-DNO_AUTH=1',
]
# -Ofast -flto
# -ftree-vectorize -ftree-slp-vectorize -funroll-loops

# -DREQUIRE_AUTH
# "-DJUCE_DSP_USE_SHARED_FFTW=1"
if buildtype == 'release'
plugin_extra_build_flags += [
'-ftree-vectorize',
'-ftree-slp-vectorize',
'-funroll-loops',
]
endif

plugin_extra_include_dirs = include_directories([
'.',


Loading…
Cancel
Save