⛏️ index : buildtools.git

author Ingo Weinhold <ingo_weinhold@gmx.de> 2008-03-24 4:52:35.0 +00:00:00
committer Ingo Weinhold <ingo_weinhold@gmx.de> 2008-03-24 4:52:35.0 +00:00:00
commit
f98311c1d44db1a34779e69595378b09470adb84 [patch]
tree
3c0b3a6f147185ce87864157fbcb31df8a1e5cf1
parent
36bbacfebd64775b4644a646d7d42b340f12adf7
download
f98311c1d44db1a34779e69595378b09470adb84.tar.gz

Removing --no-undefined completely was a bit too enthusiastic. We still want it when linking apps.

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24547 a95241bf-73f2-0310-859d-f6bbb57e9c96

Diff

 legacy/gcc/gcc/config/i386/haiku.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/legacy/gcc/gcc/config/i386/haiku.h b/legacy/gcc/gcc/config/i386/haiku.h
index 38bdd32..2cf38e6 100644
--- a/legacy/gcc/gcc/config/i386/haiku.h
+++ b/legacy/gcc/gcc/config/i386/haiku.h
@@ -185,7 +185,8 @@
/* If ELF is the default format, we should not use /lib/elf. */

#undef	LINK_SPEC
#define LINK_SPEC "%{!o*:-o %b} -m elf_i386_haiku -shared -Bsymbolic %{nostart:-e 0} %{shared:-e 0}"
#define LINK_SPEC "%{!o*:-o %b} -m elf_i386_haiku -shared -Bsymbolic " \
	"%{nostart:-e 0} %{shared:-e 0} %{!shared: %{!nostart: --no-undefined}}"

/* Provide start and end file specs appropriate to glibc.  */