summaryrefslogtreecommitdiffstats
path: root/el6/environment-modules-3.2.9-gcc-no-strict.patch
diff options
context:
space:
mode:
Diffstat (limited to 'el6/environment-modules-3.2.9-gcc-no-strict.patch')
-rw-r--r--el6/environment-modules-3.2.9-gcc-no-strict.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/el6/environment-modules-3.2.9-gcc-no-strict.patch b/el6/environment-modules-3.2.9-gcc-no-strict.patch
new file mode 100644
index 0000000..3317c5f
--- /dev/null
+++ b/el6/environment-modules-3.2.9-gcc-no-strict.patch
@@ -0,0 +1,11 @@
+--- modules-3.2.9/Makefile.in.orig 2012-09-12 09:02:22.000000000 +0200
++++ modules-3.2.9/Makefile.in 2012-09-12 09:12:40.588789305 +0200
+@@ -203,7 +203,7 @@
+ BASEPREFIX = @BASEPREFIX@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fno-strict-aliasing
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CYGPATH_W = @CYGPATH_W@