[gcl] Fix CFLAGS manipulation for new stack protector scheme.

Jerry James jjames at fedoraproject.org
Sat Aug 3 23:25:27 UTC 2013


commit 5c3dab94cafcc94e0918ffdced6af95e7bdd4531
Author: Jerry James <loganjerry at gmail.com>
Date:   Sat Aug 3 17:25:02 2013 -0600

    Fix CFLAGS manipulation for new stack protector scheme.

 gcl.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcl.spec b/gcl.spec
index 0430317..6064eff 100644
--- a/gcl.spec
+++ b/gcl.spec
@@ -5,7 +5,7 @@
 
 # -fstack-protector leads to segfaults because GCL uses its own conflicting
 # stack protection scheme.
-%global __global_cflags %(printf %%s '%__global_cflags' | sed -r 's/ -fstack-protector( --param=ssp-buffer-size=[[:digit:]]+)?//')
+%global __global_cflags %(printf %%s '%__global_cflags' | sed -r 's/ -fstack-protector(-strong)?( --param=ssp-buffer-size=[[:digit:]]+)?//')
 
 # Prerelease of 2.6.8
 %global alphatag 20130521cvs


More information about the scm-commits mailing list