Skip to content

Commit ac9a8bd

Browse files
committed
set test lto
1 parent 6ff38fc commit ac9a8bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ def add_filters(filters, pkgs, pkgs_data):
153153
if sys.platform == "win32":
154154
pass
155155
else:
156-
arguments = ['-std=c++17', '-Wall', '-Wextra', '-fdiagnostics-show-option']
156+
# arguments = ['-std=c++17', '-Wall', '-Wextra', '-fdiagnostics-show-option']
157+
arguments = ['-std=c++17', '-Wall', '-Wextra', '-fdiagnostics-show-option', '-flto=auto', '-ffat-lto-objects']
157158
nexus_config.add_compiler_arguments(arguments)
158159

159160
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)