Accepting request 198974 from devel:libraries:c_c++

- build with -O0 also for gcc 4.8 (forwarded request 198947 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/198974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hdf5?expand=0&rev=14
This commit is contained in:
Stephan Kulow 2013-09-16 10:36:18 +00:00 committed by Git OBS Bridge
parent 95aadd87dc
commit 197b915f8c
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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