chiark / gitweb /
Make up for attribute malloc with alloc_size
[elogind.git] / configure.ac
index 517378394841325ab367ae371e12e099bc7fcd79..ce02ff6f807f6507df1e71d8d7443344757bb9bc 100644 (file)
@@ -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])