Accepting request 185485 from home:k0da:ppc

- fix %{macros_dir}/macros.ghc for non x86 arches

OBS-URL: https://build.opensuse.org/request/show/185485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=14
This commit is contained in:
Peter Trommler 2013-08-01 15:27:07 +00:00 committed by Git OBS Bridge
parent 59abcbb379
commit b916b7baf8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 1 15:18:38 UTC 2013 - dvaleev@suse.com
- fix %{macros_dir}/macros.ghc for non x86 arches
-------------------------------------------------------------------
Wed May 1 19:51:20 UTC 2013 - peter.trommler@ohm-hochschule.de

View File

@ -84,7 +84,7 @@ install -p -D -m 0755 cabal-tweak-flag %{buildroot}/%{_bindir}/cabal-tweak-flag
# this is why this package is now arch-dependent:
# turn off shared libs and dynamic linking on secondary archs
%ifnarch %{ix86} x86_64
cat >> %{buildroot}/%{macros_file} <<EOF
cat >> %{buildroot}%{macros_dir}/macros.ghc <<EOF
# shared libraries are only supported on primary intel archs
%%ghc_without_dynamic 1