summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/hdf5.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/hdf5.spec b/packaging/hdf5.spec
index ff6913f..f4138dc 100644
--- a/packaging/hdf5.spec
+++ b/packaging/hdf5.spec
@@ -387,6 +387,8 @@ fi
test -e config/linux-gnueabi || cp config/linux-gnu config/linux-gnueabi
%endif
+export CFLAGS="$CFLAGS -Wno-incompatible-pointer-types -Wno-implicit-function-declaration"
+
# NOTE: --enable-unsupported is required when --enable-fortran
# and/or --enable-cxx is enabled along with --enable-threadsafe.
# Building with thise combination results in thread-safe C