added my Recipes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
fix host gcc warnings
|
||||
|
||||
Remove gcc warnings when gcc is v3.2
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-of-by: Aws Ismail <aws.ismail@windriver.com>
|
||||
|
||||
Index: openhpi-3.6.1/configure.ac
|
||||
===================================================================
|
||||
--- openhpi-3.6.1.orig/configure.ac
|
||||
+++ openhpi-3.6.1/configure.ac
|
||||
@@ -656,11 +656,6 @@ AC_ARG_ENABLE([werror],
|
||||
fi],
|
||||
[])
|
||||
|
||||
-if test -n "`gcc --version | grep ' 3.2'`" ; then
|
||||
- CC_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wno-strict-aliasing//g'`
|
||||
- CXX_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wno-strict-aliasing//g'`
|
||||
-fi
|
||||
-
|
||||
case $host_os in
|
||||
solaris*)
|
||||
CC_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wcast-qual//g'`
|
||||
Reference in New Issue
Block a user