Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/llvm Skip suffixes like -eabi for the host targ...



details:   https://anonhg.NetBSD.org/src/rev/1bcdb16a2ec6
branches:  trunk
changeset: 792495:1bcdb16a2ec6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jan 05 15:19:39 2014 +0000

description:
Skip suffixes like -eabi for the host target, when invoking configure.

diffstat:

 external/bsd/llvm/Makefile.inc |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 5bca2f487850 -r 1bcdb16a2ec6 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Sun Jan 05 15:17:04 2014 +0000
+++ b/external/bsd/llvm/Makefile.inc    Sun Jan 05 15:19:39 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index