summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-04-26 16:22:00 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2017-04-27 12:02:12 -0400
commit26c812ece4120271a786a55abef463f9f65a25ad (patch)
treeecfb5de34b1c12aa0308d746f0fba394bd46f871 /meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch
parent6dce1a2d9cf53d3b36e8999f25087a664645782b (diff)
downloadmeta-openembedded-26c812ece4120271a786a55abef463f9f65a25ad.tar.gz
openhpi: add new recipe
OpenHPI is an open source project created with the intent of providing an implementation of the SA Forum's Hardware Platform Interface (HPI). Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch')
-rw-r--r--meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch
new file mode 100644
index 0000000000..029b857bc1
--- /dev/null
+++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-fix-host-gcc.patch
@@ -0,0 +1,24 @@
1fix host gcc warnings
2
3Remove gcc warnings when gcc is v3.2
4
5Upstream-Status: Pending
6
7Signed-of-by: Aws Ismail <aws.ismail@windriver.com>
8
9diff --git a/configure.ac b/configure.ac
10index f5a5b74..4a20154 100644
11--- a/configure.ac
12+++ b/configure.ac
13@@ -605,11 +605,6 @@ AC_ARG_ENABLE([werror],
14 fi],
15 [])
16
17-if test -n "`gcc --version | grep ' 3.2'`" ; then
18- CC_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wno-strict-aliasing//g'`
19- CXX_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wno-strict-aliasing//g'`
20-fi
21-
22 case $host_os in
23 solaris*)
24 CC_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wcast-qual//g'`