mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
openhpi: Fix build with clang+c++11
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Index: openhpi-3.6.1/configure.ac
|
||||
===================================================================
|
||||
--- openhpi-3.6.1.orig/configure.ac
|
||||
+++ openhpi-3.6.1/configure.ac
|
||||
@@ -44,6 +44,7 @@ AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_MAKE_SET
|
||||
+AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
|
||||
|
||||
enabled_non32bit="no"
|
||||
AC_ARG_ENABLE([non32bit-int],
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,7 @@ SECTION = "net"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e3c772a32386888ccb5ae1c0ba95f1a4"
|
||||
|
||||
DEPENDS = "net-snmp libxml2 ncurses openssl glib-2.0 popt e2fsprogs"
|
||||
DEPENDS = "net-snmp libxml2 ncurses openssl glib-2.0 popt e2fsprogs autoconf-archive-native"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
|
||||
file://openhpi-netsnmp-cross-compile.patch \
|
||||
@@ -36,6 +36,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
|
||||
file://openhpi-use-serial-tests-config-needed-by-ptest.patch \
|
||||
file://openhpi-fix-alignment-issue.patch \
|
||||
file://0001-Fix-build-failures-with-gcc7.patch \
|
||||
file://c++11.patch \
|
||||
file://clang-c++11.patch \
|
||||
\
|
||||
file://openhpi.init \
|
||||
file://openhpid.service \
|
||||
|
||||
Reference in New Issue
Block a user