diff options
author | Steve Peters <steve@fisharerojo.org> | 2007-12-19 13:58:35 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2007-12-19 13:58:35 +0000 |
commit | 5e49647a0859f6593db3487b4813b840236eca20 (patch) | |
tree | 9396bb71291741a0e5af73be82fbd6e3b794aa64 /cflags.SH | |
parent | 4eeeaff6ef21db94b76b8e8b5acd5213781c1c82 (diff) | |
download | perl-5e49647a0859f6593db3487b4813b840236eca20.tar.gz |
Teach cflags.SH about -fstack-protector, and add it to gcc compiler flags
when possible.
p4raw-id: //depot/perl@32647
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ case "$gccversion" in '') ;; [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. |