[Git][NTPsec/ntpsec][master] attempt to fix FreeBSD build

Gary E. Miller gitlab at mg.gitlab.com
Tue Feb 14 05:19:07 UTC 2017


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


Commits:
b2de77de by Gary E. Miller at 2017-02-13T21:18:45-08:00
attempt to fix FreeBSD build

- - - - -


1 changed file:

- wafhelpers/configure.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -222,7 +222,7 @@ def cmd_configure(ctx, config):
                         "-std=gnu99",
                         "-D_FORTIFY_SOURCE=2",      # hardening
                         ]
-        if ctx.env.DEST_OS != "darwin":
+        if ctx.env.DEST_OS not in ["darwin","freebsd"]:
             # -flto breaks tests on macOS
             ctx.env.CFLAGS += [
                 "-flto",                    # hardening, needed for sanitize



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


More information about the vc mailing list