[Git][NTPsec/ntpsec][master] Revert "waf: Older CentOS and Debian do not like linking the -fPIC"

Gary E. Miller gitlab at mg.gitlab.com
Sat Feb 11 22:17:21 UTC 2017


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


Commits:
4ca79909 by Gary E. Miller at 2017-02-11T14:16:48-08:00
Revert "waf: Older CentOS and Debian do not like linking the -fPIC"

This reverts commit 016eda025ef1c10ab86cf08ab14e7fe32da44501.

Did not help on CentOS, need a way to test off buildbot...

- - - - -


1 changed file:

- wafhelpers/configure.py


Changes:

=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -214,10 +214,6 @@ def cmd_configure(ctx, config):
         "-Wl,-z,relro,-z,now",
         "-Wstrict-prototypes",
         ]
-    # older gcc needs this explicit
-    ctx.env.LDFLAGS += [
-        "-fPIE",
-        ]
 
     # We require some things that C99 doesn't enable, like pthreads.
     # Thus -std=gnu99 rather than -std=c99 here, if the compiler supports



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


More information about the vc mailing list