From 31d2a87ba078483be0f8c1c3549692d187d14d57 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 20 Jul 2022 20:21:48 +0200 Subject: [PATCH] winebuild: Add GNU stack note also to the undefined symbols file. Recent ld complains about this. --- tools/winebuild/import.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index c876d51f8e6..b1c14db9cab 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -631,6 +631,8 @@ static char *create_undef_symbols_file( DLLSPEC *spec ) } for (j = 0; j < extra_ld_symbols.count; j++) output( "\t%s %s\n", get_asm_ptr_keyword(), asm_name(extra_ld_symbols.str[j]) ); + + output_gnu_stack_note(); fclose( output_file ); obj_file = get_temp_file_name( output_file_name, ".o" ); -- 2.11.4.GIT