diff --git a/hdf5.changes b/hdf5.changes index c74d8c8..2078be6 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 13 12:18:27 UTC 2013 - pgajdos@suse.com + +- build with -O0 also for gcc 4.8 + ------------------------------------------------------------------- Fri Jun 14 00:09:30 UTC 2013 - sweet_f_a@gmx.de diff --git a/hdf5.spec b/hdf5.spec index d18eb5e..86368bd 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -1,7 +1,7 @@ # # spec file for package hdf5 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -298,7 +298,7 @@ export CC=gcc export CXX=g++ export F9X=gfortran # workaround for known gcc issue, see RELEASE.txt -if gcc --version |grep -q " 4\.6"; then +if gcc --version |grep -q " 4\.[68]"; then export CFLAGS="${RPM_OPT_FLAGS/-O2/-O0}" fi %ifarch %arm