Add the -no-undefined flag only for non-shared objects as before, i.e. shared libraries are allowed to use undefined symbols.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29490 a95241bf-73f2-0310-859d-f6bbb57e9c96
Diff
gcc/gcc/config/i386/haiku.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -69,7 +69,7 @@
#undef LINK_SPEC
#define LINK_SPEC "-m elf_i386_haiku -shared -no-undefined -Bsymbolic %{nostart:-e 0} %{shared:-e 0}"
#define LINK_SPEC "-m elf_i386_haiku -shared -Bsymbolic %{nostart:-e 0} %{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}"
/* A C statement (sans semicolon) to output to the stdio stream
FILE the assembler definition of uninitialized global DECL named