[Git][NTPsec/ntpsec][master] waf: adding -Werror no help...

Gary E. Miller gitlab at mg.gitlab.com
Tue Feb 21 02:23:36 UTC 2017


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


Commits:
5df7066e by Gary E. Miller at 2017-02-20T18:23:06-08:00
waf: adding -Werror no help...

- - - - -


1 changed file:

- wafhelpers/configure.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -238,7 +238,7 @@ int main(int argc, char **argv) {
     # check if C compiler supports some flags
     for (name, ccflag) in cc_test_flags:
         ctx.check_cc(define_name='HAS_' + name,
-                     cflags=ccflag + ' -Werror',
+                     cflags=ccflag,
                      fragment=FRAGMENT,
                      mandatory=False,
                      msg='Checking if C compiler supports ' + name,)
@@ -282,7 +282,7 @@ int main(int argc, char **argv) {
             ('--strip-all', "-Wl,--strip-all"),    # Strip binaries
             ]
 
-    # old gcc takes -z,relro, but then barfs is -fPIE available and used.
+    # old gcc takes -z,relro, but then barfs if -fPIE available and used.
     # ("relro", "-Wl,-z,relro"), # marks some sections read only
 
     for (name, ldflag) in ld_hardening_flags:



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


More information about the vc mailing list