+20080228
+ - (dtucker) [configure.ac] Add -fstack-protector to LDFLAGS too, fixes
+ linking problems on AIX with gcc 4.1.x.
+
20080225
- (dtucker) [openbsd-compat/fake-rfc2553.h] rename ssh_gai_strerror hack
since it now conflicts with the helper function in misc.c. From
AC_MSG_CHECKING(if $CC understands -fstack-protector-all)
saved_CFLAGS="$CFLAGS"
+ saved_LDFLAGS="$LDFLAGS"
CFLAGS="$CFLAGS -fstack-protector-all"
- AC_TRY_COMPILE([], [ int main(void){return 0;} ],
+ LDFLAGS="$LDFLAGS -fstack-protector-all"
+ AC_TRY_LINK([], [ int main(void){return 0;} ],
[ AC_MSG_RESULT(yes) ],
[ AC_MSG_RESULT(no)
- CFLAGS="$saved_CFLAGS" ]
+ CFLAGS="$saved_CFLAGS"
+ LDFLAGS="$saved_LDFLAGS"
+ ]
)
if test -z "$have_llong_max"; then