From 528160fca4c5782abfaa166db6f4ba164d1bbc0297379418e9a3cb8d9b7e0b16 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 11 Feb 2010 19:25:08 +0000 Subject: [PATCH] Accepting request 32335 from devel:libraries:c_c++ Copy from devel:libraries:c_c++/gsl based on submit request 32335 from user rguenther OBS-URL: https://build.opensuse.org/request/show/32335 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsl?expand=0&rev=10 --- gsl.changes | 5 +++++ gsl.spec | 16 +++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/gsl.changes b/gsl.changes index 6ba9367..d266b5c 100644 --- a/gsl.changes +++ b/gsl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 11 17:47:24 CET 2010 - rguenther@suse.de + +- Drop all fancy compile flags as long as we need -fno-strict-aliasing. + ------------------------------------------------------------------- Thu Jul 30 17:57:56 CEST 2009 - garloff@suse.de diff --git a/gsl.spec b/gsl.spec index 4b9a249..aaf7761 100644 --- a/gsl.spec +++ b/gsl.spec @@ -1,7 +1,7 @@ # # spec file for package gsl (Version 1.12) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -22,8 +22,8 @@ Name: gsl #BuildRequires: blas latex2html BuildRequires: blas Version: 1.12 -Release: 1 -License: GPL v3 or later +Release: 2 +License: GPLv3+ # NOTE: The package has been update to 1.10+ after all issues with # GNU GPLv3 have been resolved. Group: Development/Libraries/C and C++ @@ -72,7 +72,7 @@ Authors: Fabrice Rossi %package devel -License: GPL v2 or later +License: GPLv2+ Summary: GNU Scientific Library - development files Group: Development/Libraries/C and C++ Requires: gsl = %{version} glibc-devel @@ -123,14 +123,8 @@ autoreconf -fi %build RPM_OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | sed 's/-fstack-protector//'` -%ifarch i386 i486 i586 i686 x86_64 -# We could add -msse2 -mpfmath=sse here ... -CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160 -funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize -momit-leaf-frame-pointer" \ +CFLAGS="$RPM_OPT_FLAGS -O2 -fno-strict-aliasing" \ %configure --disable-static --with-pic --enable-shared --with-gnu-ld -%else -CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160 -funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize" \ -%configure --disable-static --with-pic --enable-shared --with-gnu-ld -%endif make %{?jobs:-j%jobs} # latex2html (dvips) is braindead in its rejection of '.' in a dir name # the following fails right now, disable it: