[Git][NTPsec/ntpsec][master] Restore build under clang.
Eric S. Raymond
gitlab at mg.gitlab.com
Thu Sep 7 20:34:09 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
cf359e7f by Eric S. Raymond at 2017-09-07T20:33:56+00:00
Restore build under clang.
- - - - -
1 changed file:
- wscript
Changes:
=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -525,11 +525,12 @@ int main(int argc, char **argv) {
# used on macOS, FreeBSD,
# FORTIFY needs LTO to work well
if ctx.env.DEST_OS not in ["darwin", "freebsd"]:
- # -flto breaks tests on macOS
- ctx.env.CFLAGS = [
- "-fsanitize=cfi", # hardening
- "-fsanitize=safe-stack", # hardening
- ] + ctx.env.CFLAGS
+ # -flto and friends breaks tests on macOS
+ #ctx.env.CFLAGS = [
+ # "-flto"
+ # "-fsanitize=cfi", # hardening
+ # "-fsanitize=safe-stack", # hardening
+ # ] + ctx.env.CFLAGS
ctx.env.LDFLAGS += [
"-Wl,-z,relro", # hardening, marks some section read only,
]
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/cf359e7f8dab37a07ad5a3d52b88f3424cc55e6c
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/cf359e7f8dab37a07ad5a3d52b88f3424cc55e6c
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170907/6fc4ab16/attachment.html>
More information about the vc
mailing list