Signed-off-by: falkTX <falktx@falktx.com>tags/2021-03-15
@@ -37,6 +37,13 @@ juce_current_extra_cpp_args = [ | |||||
'-Wno-non-virtual-dtor', | '-Wno-non-virtual-dtor', | ||||
] | ] | ||||
if buildtype == 'release' | |||||
juce_current_extra_cpp_args += [ | |||||
'-Ofast', | |||||
'-flto', | |||||
] | |||||
endif | |||||
if os_windows | if os_windows | ||||
juce_current_extra_cpp_args += [ | juce_current_extra_cpp_args += [ | ||||
'-D_NATIVE_WCHAR_T_DEFINED', | '-D_NATIVE_WCHAR_T_DEFINED', | ||||
@@ -51,7 +51,9 @@ build_flags_plugin_debug = [ | |||||
] | ] | ||||
build_flags_plugin_release = [ | build_flags_plugin_release = [ | ||||
'-Ofast', | |||||
'-ffast-math', | '-ffast-math', | ||||
'-flto', | |||||
] | ] | ||||
build_flag_plugin_cpp = [ | build_flag_plugin_cpp = [ | ||||
@@ -6,11 +6,14 @@ plugin_extra_build_flags = [ | |||||
'-Wno-sign-compare', | '-Wno-sign-compare', | ||||
'-DNO_AUTH=1', | '-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([ | plugin_extra_include_dirs = include_directories([ | ||||
'.', | '.', | ||||