summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-20 16:02:25 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-20 16:02:25 +0000
commit6682be1cb0cf57e58661289c111831ff65f51b05 (patch)
tree88ff3ad95c310f4279414c96b7ee2898b36283c9 /cflags.SH
parent01c2a943c27cca048365e5749978bf4759d710c6 (diff)
downloadperl-6682be1cb0cf57e58661289c111831ff65f51b05.tar.gz
A new try at getting -fstack-protector working, by adding it to the
gcc link flags so that any implementation dependant libraries are also linked in. p4raw-id: //depot/perl@32669
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/cflags.SH b/cflags.SH
index 5c355da3ff..9dd6181e73 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -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 -fstack-protector
+*) for opt in -ansi -pedantic -std=c89 -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
do
case " $ccflags " in
*" $opt "*) ;; # Skip if already there.