[Haiku-commits] r29490 - buildtools/trunk/gcc/gcc/config/i386
mmlr at mail.berlios.de
mmlr at mail.berlios.de
Fri Mar 13 16:42:34 CET 2009
Author: mmlr
Date: 2009-03-13 16:42:32 +0100 (Fri, 13 Mar 2009)
New Revision: 29490
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=29490&view=rev
Modified:
buildtools/trunk/gcc/gcc/config/i386/haiku.h
Log:
Add the -no-undefined flag only for non-shared objects as before, i.e. shared
libraries are allowed to use undefined symbols.
Modified: buildtools/trunk/gcc/gcc/config/i386/haiku.h
===================================================================
--- buildtools/trunk/gcc/gcc/config/i386/haiku.h 2009-03-13 15:37:22 UTC (rev 29489)
+++ buildtools/trunk/gcc/gcc/config/i386/haiku.h 2009-03-13 15:42:32 UTC (rev 29490)
@@ -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
More information about the Haiku-commits
mailing list