Change 32647 by [EMAIL PROTECTED] on 2007/12/19 13:58:35
Teach cflags.SH about -fstack-protector, and add it to gcc compiler
flags
when possible.
Affected files ...
... //depot/perl/cflags.SH#52 edit
Differences ...
==== //depot/perl/cflags.SH#52 (xtext) ====
Index: perl/cflags.SH
--- perl/cflags.SH#51~32623~ 2007-12-17 02:34:07.000000000 -0800
+++ perl/cflags.SH 2007-12-19 05:58:35.000000000 -0800
@@ -134,7 +134,7 @@
'') ;;
[12]*) ;; # gcc versions 1 (gasp!) and 2 are not good for this.
Intel*) ;; # # Is that you, Intel C++?
-*) for opt in -ansi -pedantic -std=c89 -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat
+*) for opt in -ansi -pedantic -std=c89 -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat -fstack-protector
do
case " $ccflags " in
*" $opt "*) ;; # Skip if already there.
End of Patch.