⛏️ index : buildtools.git

author Michael Lotz <mmlr@mlotz.ch> 2009-03-13 15:42:32.0 +00:00:00
committer Michael Lotz <mmlr@mlotz.ch> 2009-03-13 15:42:32.0 +00:00:00
commit
5d242e9e054538dbb28353a9ddbc2bbbd494373e [patch]
tree
e61d786a0a9de7a5a1070214cc8cdcb3f51e3e4b
parent
7219b3c58f5dca1b5c47e184a19ea7dd8757afaf
download
5d242e9e054538dbb28353a9ddbc2bbbd494373e.tar.gz

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(-)

diff --git a/gcc/gcc/config/i386/haiku.h b/gcc/gcc/config/i386/haiku.h
index 46f5c96..84d3c07 100644
--- a/gcc/gcc/config/i386/haiku.h
+++ b/gcc/gcc/config/i386/haiku.h
@@ -69,7 +69,7 @@
/* If ELF is the default format, we should not use /lib/elf.  */

#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