[oe-commits] Roman I Khimov : cluster-glue: fix uclibc build
git version control
git at git.openembedded.org
Fri Apr 23 18:50:08 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 41477e0b1d732b7e823f16fac150a7e89f8ba1b5
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=41477e0b1d732b7e823f16fac150a7e89f8ba1b5
Author: Roman I Khimov <khimov at altell.ru>
Date: Fri Apr 23 13:20:42 2010 +0400
cluster-glue: fix uclibc build
Stack protection is not available.
Signed-off-by: Roman I Khimov <khimov at altell.ru>
---
.../cluster-glue/kill-stack-protector.patch | 12 ++++++++++++
recipes/linux-ha/cluster-glue_1.0.3.bb | 3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/recipes/linux-ha/cluster-glue/kill-stack-protector.patch b/recipes/linux-ha/cluster-glue/kill-stack-protector.patch
new file mode 100644
index 0000000..25a21f4
--- /dev/null
+++ b/recipes/linux-ha/cluster-glue/kill-stack-protector.patch
@@ -0,0 +1,12 @@
+Index: Reusable-Cluster-Components-glue-1.0.3/configure.ac
+===================================================================
+--- Reusable-Cluster-Components-glue-1.0.3.orig/configure.ac 2010-04-23 12:35:52.000000000 +0400
++++ Reusable-Cluster-Components-glue-1.0.3/configure.ac 2010-04-23 12:36:00.000000000 +0400
+@@ -1135,7 +1135,6 @@
+
+ # We had to eliminate -Wnested-externs because of libtool changes
+ EXTRA_FLAGS="-fgnu89-inline
+- -fstack-protector-all
+ -Wall
+ -Waggregate-return
+ -Wbad-function-cast
diff --git a/recipes/linux-ha/cluster-glue_1.0.3.bb b/recipes/linux-ha/cluster-glue_1.0.3.bb
index 774b83c..f139500 100644
--- a/recipes/linux-ha/cluster-glue_1.0.3.bb
+++ b/recipes/linux-ha/cluster-glue_1.0.3.bb
@@ -6,11 +6,14 @@ is not the cluster messaging layer (Heartbeat), nor the cluster resource manager
LICENSE = "GPL"
DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux-ng"
+PR = "r1"
+
SRC_URI = " \
http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2;name=tar \
file://glue-remove-getpid-check.patch;patch=1 \
file://volatiles \
"
+SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch;patch=1"
SRC_URI[tar.md5sum] = "f13746a8f3e8db1fa9c682d9db892573"
SRC_URI[tar.sha256sum] = "fb1e4b75779849daf0f2c2c93668dd2a33d304307554f3d617b07f1957c61c9f"
More information about the Openembedded-commits
mailing list