diff --git a/gcc/gcc/config/i386/beos-elf.h b/gcc/gcc/config/i386/beos-elf.h index 71ebfb342e..5d7eb98cc6 100644 --- a/gcc/gcc/config/i386/beos-elf.h +++ b/gcc/gcc/config/i386/beos-elf.h @@ -184,7 +184,7 @@ Boston, MA 02111-1307, USA. */ /* If ELF is the default format, we should not use /lib/elf. */ #undef LINK_SPEC -#define LINK_SPEC "%{!o*:-o %b} -m elf_i386_be -shared -Bsymbolic %{nostart:-e 0} %{shared:-e 0}" +#define LINK_SPEC "%{!o*:-o %b} -m elf_i386_be -shared -Bsymbolic --no-undefined %{nostart:-e 0} %{shared:-e 0}" /* Provide start and end file specs appropriate to glibc. */