1
0
Fridrich Strba 2010-09-24 00:00:10 +00:00 committed by Git OBS Bridge
parent 9597aadf7d
commit 35c3b32785
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -urEbwB mingw-w64-runtime-1.0b.20100818/math/scalbnl.S mingw-w64-runtime-1.0b.20100818/math/scalbnl.S
--- mingw-w64-runtime-1.0b.20100818/math/scalbnl.S 2010-05-03 12:25:18.000000000 +0200
+++ mingw-w64-runtime-1.0b.20100818/math/scalbnl.S 2010-09-24 01:47:59.000000000 +0200
@@ -17,7 +17,7 @@
__MINGW_USYMBOL(scalbnl):
#ifdef _WIN64
subq $24, %rsp
- andq $0xffffffff, %r8
+ andl $-1, %r8d
movq %r8, (%rsp)
fildl (%rsp)
fldt (%rdx)

View File

@ -12,9 +12,10 @@ Summary: MinGW-W64 runtime for win32
License: Public Domain
Group: Development/Libraries
URL: http://www.mingw.org/
URL: http://mingw-w64.sourceforge.net/
Source0: http://dl.sourceforge.net/sourceforge/mingw-w64/mingw-w64-runtime-%{version}.tar.bz2
Source100: %{name}-rpmlintrc
Patch0: mingw-w64-runtime-1.0b.20100818-assembly.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -36,10 +37,10 @@ MinGW Win64 cross-compiler runtime, base libraries.
%prep
%setup -q -n mingw-w64-runtime-%{version}
%patch0 -p1
%build
autoreconf -fi
./configure --host=%{_mingw32_target} --prefix=%{_prefix} --with-sysroot=%{_mingw32_sysroot} --enable-lib32 --disable-lib64
make