Commit 84c692cf authored by tsocha's avatar tsocha Committed by Scott Cyphers

[Py] Suppress multi-line warnings while compiling Python API (#819)

parent ddcfbda8
...@@ -273,7 +273,7 @@ class BuildExt(build_ext): ...@@ -273,7 +273,7 @@ class BuildExt(build_ext):
ext.extra_link_args += ['-z', 'noexecstack'] ext.extra_link_args += ['-z', 'noexecstack']
ext.extra_link_args += ['-z', 'relro'] ext.extra_link_args += ['-z', 'relro']
ext.extra_link_args += ['-z', 'now'] ext.extra_link_args += ['-z', 'now']
ext.extra_compile_args += ['-Wformat', '-Wformat-security'] ext.extra_compile_args += ['-Wformat', '-Wformat-security', '-Wno-comment']
ext.extra_compile_args += ['-O2', '-D_FORTIFY_SOURCE=2'] ext.extra_compile_args += ['-O2', '-D_FORTIFY_SOURCE=2']
build_ext.build_extensions(self) build_ext.build_extensions(self)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment