Package: libc++ / 3.5-2

libcxx-testit.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: aze/libcxx/test/testit
===================================================================
--- aze.orig/libcxx/test/testit	2014-01-19 15:36:20.020424562 +0100
+++ aze/libcxx/test/testit	2014-01-19 15:37:10.832423428 +0100
@@ -42,10 +42,16 @@
 fi
 if [ -z "$OPTIONS" ]
 then
-	OPTIONS="-std=${CXX_LANG} -stdlib=libc++"
+	OPTIONS="-std=${CXX_LANG} -stdlib=libc++  -U__STRICT_ANSI__ -D__STDC_FORMAT_MACROS"
 fi
 OPTIONS="$OPTIONS -I$LIBCXX_ROOT/test/support"
 
+if [ -z "$LIBS" ]
+then
+        LIBS="-lm -lpthread"
+fi
+
+
 if [ -z "$HEADER_INCLUDE" ]
 then
        HEADER_INCLUDE="-I$LIBCXX_ROOT/include"