diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-06-20 22:59:14 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-06-20 22:59:14 +0000 |
commit | d9841e89637d821dfd11cb5ed5656a969ae09817 (patch) | |
tree | 0a76760572b10f28409bd5fc3bef166c6ed95528 /sci-libs/clapack/files | |
parent | Raise dependency on util-macros (diff) | |
download | gentoo-2-d9841e89637d821dfd11cb5ed5656a969ae09817.tar.gz gentoo-2-d9841e89637d821dfd11cb5ed5656a969ae09817.tar.bz2 gentoo-2-d9841e89637d821dfd11cb5ed5656a969ae09817.zip |
Actually make the compiler optimization patch work...
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/clapack/files')
-rw-r--r-- | sci-libs/clapack/files/clapack-3.2.1-hang.patch | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sci-libs/clapack/files/clapack-3.2.1-hang.patch b/sci-libs/clapack/files/clapack-3.2.1-hang.patch index 648516f78e34..f9ec2e0ec18c 100644 --- a/sci-libs/clapack/files/clapack-3.2.1-hang.patch +++ b/sci-libs/clapack/files/clapack-3.2.1-hang.patch @@ -1,14 +1,12 @@ -Fix for https://bugs.kde.org/show_bug.cgi?id=274940 - diff -ruN clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SRC/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt 2009-08-10 19:47:54.000000000 +0200 -+++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-19 02:17:34.119752822 +0200 +--- clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt 2011-06-21 00:29:16.275749375 +0200 ++++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-21 00:31:06.133749448 +0200 @@ -355,6 +355,9 @@ zla_heamv.c zla_hercond_c.c zla_hercond_x.c zla_herpvgrw.c zla_lin_berr.c zlarscl2.c zlascl2.c zla_wwaddw.c) -+if(CMAKE_COMPILER_IS_GNUCXX) -+ set_source_files_properties(dlamch.c slamch.c PROPERTIES COMPILE_FLAGS "-ffloat-store -O0") ++if(CMAKE_COMPILER_IS_GNUCC) ++ set_source_files_properties(../INSTALL/dlamch.c ../INSTALL/slamch.c PROPERTIES COMPILE_FLAGS "-ffloat-store -O0") +endif() if( USEXBLAS) |