python-cysignals/python-cysignals-fortify.patch

13 lines
475 B
Diff
Raw Normal View History

2019-04-23 20:40:18 +00:00
diff -up setup.py.orig setup.py
--- setup.py.orig 2019-03-14 07:39:24.000000000 -0600
+++ setup.py 2019-04-08 09:38:40.734211624 -0600
@@ -50,7 +50,7 @@ kwds = dict(include_dirs=[opj("src"),
depends=depends,
define_macros=macros,
2019-04-23 20:40:18 +00:00
undef_macros=undef_macros,
- extra_compile_args=["-pthread"],
+ extra_compile_args=["-Wp,-U_FORTIFY_SOURCE", "-pthread"],
extra_link_args=["-pthread"],)
2019-04-23 20:40:18 +00:00
extensions = [