pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/lldb Fix building with older compilers
details: https://anonhg.NetBSD.org/pkgsrc/rev/8570a5d37ffd
branches: trunk
changeset: 365425:8570a5d37ffd
user: adam <adam%pkgsrc.org@localhost>
date: Sun Jul 16 16:10:05 2017 +0000
description:
Fix building with older compilers
diffstat:
devel/lldb/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b5d15cff267f -r 8570a5d37ffd devel/lldb/Makefile
--- a/devel/lldb/Makefile Sun Jul 16 15:30:50 2017 +0000
+++ b/devel/lldb/Makefile Sun Jul 16 16:10:05 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/07/11 19:47:37 adam Exp $
+# $NetBSD: Makefile,v 1.12 2017/07/16 16:10:05 adam Exp $
DISTNAME= lldb-4.0.1.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -21,6 +21,9 @@
GCC_REQD+= 4.8
PY_PATCHPLIST= yes
+# XXX: some old compilers need this; remove for lldb-5.x
+CFLAGS+= -Wno-non-pod-varargs
+
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # compilation failure in 3.8.1 (3.8.0 worked)
CMAKE_ARGS+= -DLLVM_CONFIG=${LLVM_CONFIG_PATH}
Home |
Main Index |
Thread Index |
Old Index