LLVM Minix changes

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

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
This commit is contained in:
2014-07-28 17:05:59 +02:00
parent fe5a129a88
commit 4684ddb6aa
5408 changed files with 694541 additions and 5722 deletions
+3 -6
View File
@@ -1,3 +1,6 @@
NOGCCERROR:= yes
NOCLANGERROR:= yes
BINDIR?= /usr/tests/minix-posix
FILESDIR?= /usr/tests/minix-posix
WARNS?= 1
@@ -28,7 +31,6 @@ COPTS.test52.c= -mhard-float
CPPFLAGS.test56.c += -D_MINIX_SYSTEM=1
WARNS=
COPTS.test9.c= -O0
COPTS.test37.c= -O0
COPTS.test53.c= -O0
@@ -87,13 +89,8 @@ LDADD.test57+= ${${USE_BITCODE:Uno} != "no":? test57loop.o -Wl,-allow-multiple-d
# executables is tested
LDSTATIC= -dynamic
# use the shared linkerscript for mod when using the gold linker
GOLDLINKERSCRIPT.mod?= ${${HAVE_GOLD:Uno} != "no":? ${LDS_SHARED_LIB} :}
LDFLAGS.mod+= -shared # make shared object
# LSC FIXME: THe bitcode rules need to take into account LDFLAGS
LDADD.mod+= ${${USE_BITCODE:Uno} != "no":? -shared:}
# Files which have to be compiled with -fPIC
mod.o: mod.c
${COMPILE.c} -fPIC ${.IMPSRC}