Module Name: src
Committed By: joerg
Date: Sun Jan 5 15:19:39 UTC 2014
Modified Files:
src/external/bsd/llvm: Makefile.inc
Log Message:
Skip suffixes like -eabi for the host target, when invoking configure.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/external/bsd/llvm/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/llvm/Makefile.inc
diff -u src/external/bsd/llvm/Makefile.inc:1.65 src/external/bsd/llvm/Makefile.inc:1.66
--- src/external/bsd/llvm/Makefile.inc:1.65 Sun Jan 5 15:17:04 2014
+++ src/external/bsd/llvm/Makefile.inc Sun Jan 5 15:19:39 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.65 2014/01/05 15:17:04 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.66 2014/01/05 15:19:39 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
@@ -65,12 +65,14 @@ LDFLAGS+= -Wl,--gc-sections
CPPFLAGS+= -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG} \
-I${CLANG_INCLUDE_CONFIG} -I${MCLINKER_INCLUDE_CONFIG}
+LLVM_PLATFORM=${MACHINE_GNU_ARCH}--netbsd
+
LLVM_CONFIGURE_ARGS= \
--enable-targets=x86,powerpc,sparc,aarch64,arm,mips \
--with-c-include-dirs=/usr/include/clang-${CLANG_VERSION}:/usr/include \
--disable-timestamps --prefix=/usr --sysconfdir=/etc/llvm \
--with-clang-srcdir=${CLANG_SRCDIR} \
- --host=${MACHINE_GNU_PLATFORM} \
+ --host=${LLVM_PLATFORM} \
llvm_cv_gnu_make_command=${MAKE}
.for tool in circo dot dotty fdp neato twopi xdot