Mercurial > mxe-octave
changeset 3689:155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 20 Aug 2014 14:42:42 -0400 |
parents | e5d08daf58a0 |
children | 007590237873 |
files | dist-files.mk src/hdf5-1-fixes.patch |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Wed Aug 20 14:32:50 2014 -0400 +++ b/dist-files.mk Wed Aug 20 14:42:42 2014 -0400 @@ -168,6 +168,7 @@ guile-test.c \ guile.mk \ harfbuzz.mk \ + hdf5-1-fixes.patch \ hdf5.mk \ hunspell-test.cpp \ hunspell.mk \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hdf5-1-fixes.patch Wed Aug 20 14:42:42 2014 -0400 @@ -0,0 +1,12 @@ +diff -uNr a/config/gnu-flags b/config/gnu-flags +--- a/config/gnu-flags 2012-10-11 13:31:46.000000000 -0400 ++++ b/config/gnu-flags 2014-08-20 14:36:48.118651735 -0400 +@@ -146,7 +146,7 @@ + esac + + # General +- H5_CFLAGS="$H5_CFLAGS $arch -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline" ++ H5_CFLAGS="$H5_CFLAGS $arch -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline" + + # Production + case "$cc_vendor-$cc_version" in