aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2015-02-06 02:35:29 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2015-02-06 02:35:29 +0000
commit4656c46d631159c9dfa31bb38c78e25dfd7c31ea (patch)
treec304771f6be8935c0815b16d5379652c973b01fe /lib
parenta1d03f4480b6aba71e524d840d9b941b77a21b13 (diff)
downloadsrc-4656c46d631159c9dfa31bb38c78e25dfd7c31ea.tar.gz
src-4656c46d631159c9dfa31bb38c78e25dfd7c31ea.zip
Add a comment explaining why gcc is needed.
X-MFC-With: 278231 MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=278305
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/powerpc64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/csu/powerpc64/Makefile b/lib/csu/powerpc64/Makefile
index dd6e9fb2b501..1c93355b7c48 100644
--- a/lib/csu/powerpc64/Makefile
+++ b/lib/csu/powerpc64/Makefile
@@ -9,6 +9,10 @@ CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include \
-mlongcall
+# XXX: See the log for r232932 as to why the above -mlongcall is needed. Since
+# clang doesn't support -mlongcall, and testing shows a clang linked with a
+# clang-built csu segfaults, this must currently be compiled with gcc. Once
+# clang supports -mlongcall, or we get a fixed ld, this can be revisited.
CC:= gcc
COMPILER_TYPE:= gcc