diff --git a/setup.py b/setup.py index 190722c..c542582 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def get_action(): def get_dirac(): link_args = ['-framework', 'Carbon'] if is_mac else [] - compile_args = [] if is_windows else ['-Wno-unused'] + compile_args = [] if is_windows else ['-Wno-unused', '-Wno-format-security'] pydirac = os.path.join('external', 'pydirac225') lib_sources = [os.path.join(pydirac, 'diracmodule.cpp'), os.path.join(pydirac, 'source', 'Dirac_LE.cpp')] @@ -77,7 +77,7 @@ def get_soundtouch(): if is_linux: sources += ['cpu_detect_x86_gcc.cpp'] - extra_compile_args = ['-O3', '-Wno-unused'] + extra_compile_args = ['-O3', '-Wno-unused','-Wno-format-security'] elif is_mac: sources += ['cpu_detect_x86_gcc.cpp'] extra_compile_args = ['-O3', '-Wno-unused']