LLVM Minix changes

- import libcxx
 - reduce targets to the one when compiled as a tools

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
This commit is contained in:
2013-12-06 16:46:30 +01:00
parent fe5a129a88
commit 4684ddb6aa
5408 changed files with 694541 additions and 5722 deletions

View File

@@ -45,10 +45,8 @@ M= ${.CURDIR}/arch/${ARCHSUBDIR}
LDFLAGS+= ${${ACTIVE_CC} == "clang":? -Wl,-Bsymbolic : -symbolic} \
-shared -nostartfiles -nodefaultlibs
.if defined(__MINIX) && ${HAVE_GOLD:Uno} != "yes"
LDFLAGS+= -Wl,--script ${LDS_SHARED_LIB}
.else
LDFLAGS+= -Wl,-static
.if defined(__MINIX) && ${HAVE_GOLD:Uno} == "no"
LDFLAGS+= -Wl,-static
.endif
LDFLAGS+= -Wl,--warn-shared-textrel