mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12: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:
@ -1078,7 +1078,8 @@ if (defined $makefiles{'ac'}) {
|
||||
"\n".
|
||||
"CC = \@CC\@\n".
|
||||
"\n".
|
||||
&splitline("CFLAGS = \@CFLAGS\@ \@CPPFLAGS\@ \@DEFS\@ \@GTK_CFLAGS\@ " .
|
||||
&splitline("CFLAGS = \@CFLAGS\@ \@PUTTYCFLAGS\@ \@CPPFLAGS\@ " .
|
||||
"\@DEFS\@ \@GTK_CFLAGS\@ " .
|
||||
(join " ", map {"-I$dirpfx$_"} @srcdirs))."\n".
|
||||
"XLDFLAGS = \@LDFLAGS\@ \@LIBS\@ \@GTK_LIBS\@\n".
|
||||
"ULDFLAGS = \@LDFLAGS\@ \@LIBS\@\n".
|
||||
|
Reference in New Issue
Block a user