summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-10-22 20:43:37 +0000
committerdim <dim@FreeBSD.org>2010-10-22 20:43:37 +0000
commit05c8f273115f40d8517058524c349d3efeb3ca67 (patch)
tree3a351f47e77d8e4401b1f920e61260ad2a842b49 /gnu/usr.bin
parentdf0fe12af3ff66a5a319a8d79474239475bf8c06 (diff)
downloadFreeBSD-src-05c8f273115f40d8517058524c349d3efeb3ca67.zip
FreeBSD-src-05c8f273115f40d8517058524c349d3efeb3ca67.tar.gz
In case of powerpc64, enable HAVE_LD_NO_DOT_SYMS in gcc's auto-host.h.
Requested by: nwhitehorn
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/cc_tools/auto-host.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h
index 60dde77..bb22230 100644
--- a/gnu/usr.bin/cc/cc_tools/auto-host.h
+++ b/gnu/usr.bin/cc/cc_tools/auto-host.h
@@ -891,7 +891,9 @@
/* Define if your PowerPC64 linker only needs function descriptor syms. */
#ifndef USED_FOR_TARGET
-/* #undef HAVE_LD_NO_DOT_SYMS */
+# ifdef __powerpc64_
+# define HAVE_LD_NO_DOT_SYMS 1
+# endif
#endif
OpenPOWER on IntegriCloud