Verified Commit 40cfb77e authored by Camil Staps's avatar Camil Staps
Browse files

Add -m32 to ld arguments on 32-bit linux

parent 67c6ff25
Pipeline #40940 passed with stage
in 58 seconds
......@@ -3483,6 +3483,9 @@ static int link_project (P_NODE first_project_node,char *options_file_name,char
if (gcc_with_enable_default_pie (linker_file_name))
*arg++="-no-pie";
# endif
# if defined (LINUX) && !defined (A_64)
*arg++="-m32";
# endif
# ifdef ARM
*arg++="-Wl,--gc-sections";
# endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment