don't build via-C since it breaks assembler on x86_64 (#715799)

This commit is contained in:
Jens Petersen 2011-07-22 13:11:10 +09:00
parent ebec50563a
commit 91a5f5678f
2 changed files with 14 additions and 0 deletions

View File

@ -24,6 +24,7 @@ BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
BuildRequires: ghc-containers-prof, ghc-directory-prof, ghc-unix-prof
Patch1: hinotify-no-via-C.patch
%description
%{common_description}
@ -31,6 +32,7 @@ BuildRequires: ghc-containers-prof, ghc-directory-prof, ghc-unix-prof
%prep
%setup -q -n %{pkg_name}-%{version}
%patch1 -p1 -b .orig
%build
@ -51,6 +53,7 @@ install -p README %{buildroot}/%{_docdir}/%{name}-%{version}/README
%changelog
* Thu Jun 23 2011 Jens Petersen <petersen@redhat.com> - 0.3.1-11
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
- don't build via-C since it breaks assembler on x86_64 (#715799)
* Wed May 11 2011 Ben Boeckel <mathstuf@gmail.com> - 0.3.1-10
- Update to cabal2spec-0.22.7

11
hinotify-no-via-C.patch Normal file
View File

@ -0,0 +1,11 @@
diff -u hinotify-0.3.1/hinotify.cabal\~ hinotify-0.3.1/hinotify.cabal
--- hinotify-0.3.1/hinotify.cabal~ 2009-12-06 23:12:01.000000000 +0900
+++ hinotify-0.3.1/hinotify.cabal 2011-07-22 11:53:31.472156979 +0900
@@ -33,6 +33,6 @@
other-modules:
System.INotify.Masks
- ghc-options: -fvia-C -Wall
+ ghc-options: -Wall
hs-source-dirs: src