Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37414373
en ru br
Репозитории ALT
S:2.3.2-alt1
5.1: 1.3.1-alt2
4.1: 1.3.1-alt1
4.0: 1.3.1-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libsoundtouch

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: soundtouch-2.3.2-suse-disable-ffast-math.patch
Скачать


-ffast-math changes the floating point rounding mode globally, which
is undesirable for shared libraries. 
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
for details.
Index: soundtouch/CMakeLists.txt
===================================================================
--- soundtouch.orig/CMakeLists.txt
+++ soundtouch/CMakeLists.txt
@@ -3,13 +3,6 @@ project(SoundTouch VERSION 2.3.2 LANGUAG
 
 include(GNUInstallDirs)
 
-if(MSVC)
-  set(COMPILE_DEFINITIONS /O2 /fp:fast)
-  set(COMPILE_OPTIONS )
-else()
-  set(COMPILE_OPTIONS -Ofast)
-endif()
-
 #####################
 # SoundTouch library
 
Index: soundtouch/configure.ac
===================================================================
--- soundtouch.orig/configure.ac
+++ soundtouch/configure.ac
@@ -33,7 +33,7 @@ AC_LANG(C++)
 
 # Compiler flags. Apply -Ofast (implies -O3 -ffast-math) to allow gcc autovectorization
 # generate effective SIMD code.
-CXXFLAGS+=" -Ofast"
+CXXFLAGS+=" -O2"
 
 # Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')"
 AR_FLAGS='cr'
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin