mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
Avoid compiling autoconf test programs with -Wall -Werror; doing so causes
trouble on Ubuntu, where the Gtk test programs don't check the return value from system() and thus fall foul of the combination of our -Werror and <https://wiki.ubuntu.com/CompilerFlags#-D_FORTIFY_SOURCE=2>. [originally from svn r8638]
This commit is contained in:
@ -11,8 +11,11 @@ AC_CONFIG_HEADERS([uxconfig.h:uxconfig.in])
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_CC
|
||||
if test "X$GCC" = Xyes; then
|
||||
CFLAGS="$CFLAGS -Wall -Werror"
|
||||
PUTTYCFLAGS="-Wall -Werror"
|
||||
else
|
||||
PUTTYCFLAGS=""
|
||||
fi
|
||||
AC_SUBST(PUTTYCFLAGS)
|
||||
|
||||
AC_ARG_WITH(gssapi,
|
||||
[ --without-gssapi disable GSS-API support])
|
||||
|
Reference in New Issue
Block a user