summaryrefslogtreecommitdiff
blob: f06e9ec93b31154ed9e1616a4326cb3de491c53c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- cflags.SH.orig	2005-07-03 23:39:10.000000000 -0400
+++ cflags.SH	2005-07-03 23:39:47.000000000 -0400
@@ -165,6 +165,8 @@
 esac
 
     : Can we perhaps use $ansi2knr here
+    [[ $file == regcomp ]] && export ccflags="${ccflags} -fno-stack-protector"
+    [[ $file == regexec ]] && export ccflags="${ccflags} -fno-stack-protector"
     echo "$cc -c -DPERL_CORE $ccflags $optimize $warn"
     eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'