[Git][NTPsec/ntpsec][master] Finish removal of hooks for HP Fortify static analyzer
Matt Selsky
gitlab at mg.gitlab.com
Thu Mar 23 04:22:19 UTC 2017
Matt Selsky pushed to branch master at NTPsec / ntpsec
Commits:
d7250731 by Matt Selsky at 2017-03-23T00:18:18-04:00
Finish removal of hooks for HP Fortify static analyzer
Not to be confused with gcc's "fortify" flags.
Continues work started in "waf: remove FORTIFY option, never worked, not
needed."
- - - - -
2 changed files:
- − wafhelpers/check_fortify.py
- wafhelpers/options.py
Changes:
=====================================
wafhelpers/check_fortify.py deleted
=====================================
--- a/wafhelpers/check_fortify.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from shlex import split
-
-
-def check_fortify(ctx):
- ctx.find_program("sourceanalyzer", var="BIN_SOURCEANALYZER",
- mandatory=True)
-
- if not ctx.options.fortify_flags:
- ctx.fatal(
- "You must supply --fortify-flags when using --enable-fortify.")
-
- ctx.env.CC = ctx.env.BIN_SOURCEANALYZER + \
- split(ctx.options.fortify_flags) + ctx.env.CC
- ctx.env.AR = ctx.env.BIN_SOURCEANALYZER + \
- split(ctx.options.fortify_flags) + ctx.env.AR
=====================================
wafhelpers/options.py
=====================================
--- a/wafhelpers/options.py
+++ b/wafhelpers/options.py
@@ -72,8 +72,6 @@ def options_cmd(ctx, config):
grp.add_option('--ldflags', type='string', action="callback",
callback=callback_flags,
help="Users should use LDFLAGS in their environment.")
- grp.add_option('--fortify-flags', type='string', action='store',
- help="Fortify flags.")
grp.add_option('--check', action='store_true', default=False,
help="Run tests")
grp.add_option('--enable-rtems-trace', action='store_true',
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/d72507311331382cfd657b57c43e9863363819c3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170323/3a5ce14d/attachment.html>
More information about the vc
mailing list