summaryrefslogtreecommitdiff
path: root/package/mksh/patches/patch-Build_sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/mksh/patches/patch-Build_sh')
-rw-r--r--package/mksh/patches/patch-Build_sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mksh/patches/patch-Build_sh b/package/mksh/patches/patch-Build_sh
new file mode 100644
index 000000000..3bd7547b7
--- /dev/null
+++ b/package/mksh/patches/patch-Build_sh
@@ -0,0 +1,10 @@
+--- mksh.orig/Build.sh 2011-04-14 19:46:02.037662289 +0200
++++ mksh/Build.sh 2011-04-14 19:45:49.357672498 +0200
+@@ -816,7 +816,6 @@ if test $ct = gcc; then
+ # The following tests run with -Werror (gcc only) if possible
+ NOWARN=$DOWARN; phase=u
+ ac_flags 1 fnostrictaliasing -fno-strict-aliasing
+- ac_flags 1 fstackprotectorall -fstack-protector-all
+ ac_flags 1 fwrapv -fwrapv
+ test $cm = combine && ac_flags 0 combine \
+ '-fwhole-program --combine' \