forked from pool/mingw64-runtime
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-runtime?expand=0&rev=17
This commit is contained in:
parent
161df1b382
commit
0ee91dfdac
12
mingw-w64-runtime-1.0b.20100818-assembly.patch
Normal file
12
mingw-w64-runtime-1.0b.20100818-assembly.patch
Normal 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)
|
@ -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=%{_mingw64_target} --prefix=%{_prefix} --with-sysroot=%{_mingw64_sysroot} --disable-lib32 --enable-lib64
|
||||
make
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user