Skip to content

Commit 87ba3e2

Browse files
committed
add comments
1 parent e4faa22 commit 87ba3e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,13 @@ def add_filters(filters, pkgs, pkgs_data):
153153
if sys.platform == "win32":
154154
pass
155155
else:
156+
# old version
156157
# arguments = ['-std=c++17', '-Wall', '-Wextra',
157158
# '-fdiagnostics-show-option']
159+
# lto does not work
158160
# arguments = ['-std=c++17', '-Wall', '-Wextra',
159161
# '-fdiagnostics-show-option', '-flto=auto', '-ffat-lto-objects']
162+
# no-lto to be on the save side
160163
arguments = ['-std=c++17', '-Wall', '-Wextra', '-fdiagnostics-show-option',
161164
'-fno-lto']
162165
nexus_config.add_compiler_arguments(arguments)

0 commit comments

Comments
 (0)