Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/llvm Don't pass -std=c++11 down to configure, i...



details:   https://anonhg.NetBSD.org/src/rev/f9043f7ce0c2
branches:  trunk
changeset: 790478:f9043f7ce0c2
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Oct 14 01:47:50 2013 +0000

description:
Don't pass -std=c++11 down to configure, it breaks C compiler detection.
Regen configuration.

diffstat:

 external/bsd/llvm/config/llvm/Config/config.h.in |  8 +++++++-
 external/bsd/llvm/include/Makefile               |  4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 3c14bf1b184e -r f9043f7ce0c2 external/bsd/llvm/config/llvm/Config/config.h.in
--- a/external/bsd/llvm/config/llvm/Config/config.h.in  Mon Oct 14 01:37:39 2013 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h.in  Mon Oct 14 01:47:50 2013 +0000
@@ -22,6 +22,9 @@
 /* Define if you want backtraces on crash */
 #define ENABLE_BACKTRACES 1
 
+/* Define to enable crash handling overrides */
+#define ENABLE_CRASH_OVERRIDES 1
+
 /* Define if position independent code is enabled */
 #define ENABLE_PIC 1
 
@@ -71,7 +74,7 @@
 #define HAVE_CRASHREPORTER_INFO 0
 
 /* Define to 1 if you have the <cxxabi.h> header file. */
-/* #undef HAVE_CXXABI_H */
+#define HAVE_CXXABI_H 1
 
 /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
    don't. */
@@ -217,6 +220,9 @@
 /* Define to 1 if you have the `pthread' library (-lpthread). */
 #define HAVE_LIBPTHREAD 1
 
+/* Define to 1 if you have the `shell32' library (-lshell32). */
+/* #undef HAVE_LIBSHELL32 */
+
 /* Define to 1 if you have the `udis86' library (-ludis86). */
 /* #undef HAVE_LIBUDIS86 */
 
diff -r 3c14bf1b184e -r f9043f7ce0c2 external/bsd/llvm/include/Makefile
--- a/external/bsd/llvm/include/Makefile        Mon Oct 14 01:37:39 2013 +0000
+++ b/external/bsd/llvm/include/Makefile        Mon Oct 14 01:47:50 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.22 2013/10/14 01:37:39 joerg Exp $
+#      $NetBSD: Makefile,v 1.23 2013/10/14 01:47:50 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -177,7 +177,7 @@
        mkdir -p tmp
        cd tmp && ${LLVM_SRCDIR}/configure ${LLVM_CONFIGURE_ARGS} \
            CC=${CC:Q} CFLAGS=${CFLAGS:N-Werror:Q} CXX=${CXX:Q} CXXFLAGS=${CXXFLAGS:N-Werror:Q} \
-           CPPFLAGS=${CPPFLAGS:Q} LDFLAGS=${LDFLAGS:Q} LD=${LD:Q} LIBS=-lm \
+           CPPFLAGS=${CPPFLAGS:N-std=c++11:Q} LDFLAGS=${LDFLAGS:Q} LD=${LD:Q} LIBS=-lm \
            ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_mmap_file=yes llvm_cv_c_printf_a=yes
        cp -r tmp/include/llvm/* ${LLVM_INCLUDE_CONFIG}/llvm/
        mv ${LLVM_INCLUDE_CONFIG}/llvm/Config/config.h \



Home | Main Index | Thread Index | Old Index