mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-21 13:17:58 +01:00
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
This commit is contained in:
parent
7219b3c58f
commit
5d242e9e05
@ -69,7 +69,7 @@ Boston, MA 02111-1307, USA. */
|
||||
/* 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user