summaryrefslogtreecommitdiffstats
path: root/gcc47-execstack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gcc47-execstack.patch')
-rw-r--r--gcc47-execstack.patch6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc47-execstack.patch b/gcc47-execstack.patch
index abfe828..8a2b36e 100644
--- a/gcc47-execstack.patch
+++ b/gcc47-execstack.patch
@@ -13,7 +13,7 @@
--- origsrc/gcc-4.7.2/gcc/config/i386//cygwin.h 2012-11-01 20:55:58.250000000 +0000
+++ src/gcc-4.7.2/gcc/config/i386//cygwin.h 2012-11-01 20:11:22.000000000 +0000
-@@ -140,3 +140,11 @@ along with GCC; see the file COPYING3.
+@@ -140,3 +140,7 @@ along with GCC; see the file COPYING3.
/* We should find a way to not have to update this manually. */
#define LIBGCJ_SONAME "cyggcj" /*LIBGCC_EH_EXTN*/ "-13.dll"
@@ -21,10 +21,6 @@
+#define HAVE_ENABLE_EXECUTE_STACK
+#undef CHECK_EXECUTE_STACK_ENABLED
+#define CHECK_EXECUTE_STACK_ENABLED flag_setstackexecutable
-+
-+#ifdef IN_LIBGCC2
-+#include <windows.h>
-+#endif
--- origsrc/gcc-4.7.2/gcc/config/i386//mingw.opt 2011-04-01 15:43:22.000000000 +0100
+++ src/gcc-4.7.2/gcc/config/i386//mingw.opt 2012-11-01 20:57:00.296875000 +0000
@@ -28,8 +28,4 @@ Wpedantic-ms-format