[Git][NTPsec/ntpsec][master] aaf debug: dial it back a bit.

Gary E. Miller gitlab at mg.gitlab.com
Fri Apr 7 00:50:35 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
5a1b4ae6 by Gary E. Miller at 2017-04-06T17:50:09-07:00
aaf debug: dial it back a bit.

- - - - -


1 changed file:

- wafhelpers/configure.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -260,6 +260,11 @@ def cmd_configure(ctx, config):
         ('unused', '-Qunused-arguments'),
         ]
 
+    # Check which linker flags are supported
+    ld_hardening_flags = [
+        ("z_now", "-Wl,-z,now"),     # no deferred symbol resolution
+    ]
+
     if ctx.options.enable_debug_gdb:
         ctx.env.CFLAGS += ["-g"]
     else:
@@ -271,11 +276,6 @@ def cmd_configure(ctx, config):
             ('stripall', "-Wl,--strip-all"),    # Strip binaries
             ]
 
-    # Check which linker flags are supported
-    ld_hardening_flags = [
-        ("z_now", "-Wl,-z,now"),     # no deferred symbol resolution
-    ]
-
     if ctx.options.enable_debug:
         ctx.define("DEBUG", 1, comment="Enable debug mode")
         ctx.env.BISONFLAGS += ["--debug"]



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5a1b4ae6f49d57dc1295d83e5ce915c43e5d0f98
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170407/021ec01f/attachment.html>


More information about the vc mailing list