[Git][NTPsec/ntpsec][master] waf: stupid type mismatch.

Gary E. Miller gitlab at mg.gitlab.com
Wed Feb 15 00:47:43 UTC 2017


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


Commits:
688fcdb2 by Gary E. Miller at 2017-02-14T16:47:05-08:00
waf: stupid type mismatch.

- - - - -


1 changed file:

- wafhelpers/configure.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -252,7 +252,7 @@ def cmd_configure(ctx, config):
             "-Wl,-z,now",      # hardening, no deferred symbol resolution
             ]
 
-        if 5 <= ctx.env.CC_VERSION[0]:
+        if 5 <= int(ctx.env.CC_VERSION[0]):
             # gcc >= 5.0
             ctx.env.CFLAGS += [
                 "-fPIE",                    # hardening



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/688fcdb2ea1238b6ffff7ca24d9b1ad6a0192462
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170215/a4d5195f/attachment.html>


More information about the vc mailing list