summaryrefslogtreecommitdiff
path: root/m4/ld-O1.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ld-O1.m4')
-rw-r--r--m4/ld-O1.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ld-O1.m4 b/m4/ld-O1.m4
index c8630740..6efd3f34 100644
--- a/m4/ld-O1.m4
+++ b/m4/ld-O1.m4
@@ -14,11 +14,11 @@ EOF
-Wl,-O1 1>&AS_MESSAGE_LOG_FD])
then
pam_cv_ld_O1=yes
+ LDFLAGS="$LDFLAGS -Wl,-O1"
else
pam_cv_ld_O1=no
fi
rm -f conftest*])
AC_SUBST(pam_cv_ld_as_needed)
- LDFLAGS="$LDFLAGS -Wl,-O1"
]
)