[systemd-commits] configure.ac
Zbigniew JÄdrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Fri Apr 19 15:33:25 PDT 2013
configure.ac | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9d2d0fe1e3f28a639c26b62391f79cfd1450d91b
Author: Evangelos Foutras <evangelos at foutrelis.com>
Date: Sat Apr 20 00:17:08 2013 +0300
build-sys: prevent library underlinking
Underlinking can cause subtle bugs like the recent issue with
libnss_myhostname (which was fixed in commit 1e335af7).
diff --git a/configure.ac b/configure.ac
index 5173783..ce02ff6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,6 +144,7 @@ AC_SUBST([OUR_CPPFLAGS], $with_cppflags)
CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\
-Wl,--as-needed \
+ -Wl,--no-undefined \
-Wl,--gc-sections \
-Wl,-z,relro \
-Wl,-z,now])
More information about the systemd-commits
mailing list