aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux-ha/cluster-resource-agents/kill-stack-protector.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux-ha/cluster-resource-agents/kill-stack-protector.patch')
-rw-r--r--recipes/linux-ha/cluster-resource-agents/kill-stack-protector.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/linux-ha/cluster-resource-agents/kill-stack-protector.patch b/recipes/linux-ha/cluster-resource-agents/kill-stack-protector.patch
new file mode 100644
index 0000000000..d6b02535a5
--- /dev/null
+++ b/recipes/linux-ha/cluster-resource-agents/kill-stack-protector.patch
@@ -0,0 +1,12 @@
+Index: Cluster-Resource-Agents-agents-1.0.2/configure.in
+===================================================================
+--- Cluster-Resource-Agents-agents-1.0.2.orig/configure.in 2010-04-23 12:38:41.000000000 +0400
++++ Cluster-Resource-Agents-agents-1.0.2/configure.in 2010-04-23 12:38:49.000000000 +0400
+@@ -642,7 +642,6 @@
+ # Also remove -Waggregate-return because we use one libnet
+ # call which returns a struct
+ EXTRA_FLAGS="-fgnu89-inline
+- -fstack-protector-all
+ -Wall
+ -Wbad-function-cast
+ -Wcast-qual