Francois Gouget : winegcc: Add a trailing '\n' to the try_link() test file.
Module: wine Branch: master Commit: 4343c9e1f70457e37f75ec06947854c455dc1b98 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4343c9e1f70457e37f75ec0694... Author: Francois Gouget <fgouget(a)free.fr> Date: Fri Sep 6 14:33:17 2013 +0200 winegcc: Add a trailing '\n' to the try_link() test file. This stops the tested gcc command from issuing a warning on Solaris. --- tools/winegcc/winegcc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 969da3e..5cac73d 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -337,7 +337,7 @@ static int try_link( const strarray *prefix, const strarray *link_tool, const ch strarray *link = strarray_dup( link_tool ); int ret; - create_file( in, 0644, "int main(void){return 1;}" ); + create_file( in, 0644, "int main(void){return 1;}\n" ); strarray_add( link, "-o" ); strarray_add( link, out );
participants (1)
-
Alexandre Julliard