1
0

Accepting request 185487 from devel:languages:haskell

- fix %{macros_dir}/macros.ghc for non x86 arches (forwarded request 185485 from k0da)

OBS-URL: https://build.opensuse.org/request/show/185487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-rpm-macros?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2013-08-02 07:08:47 +00:00 committed by Git OBS Bridge
commit 84f8fbb61f
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 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: # this is why this package is now arch-dependent:
# turn off shared libs and dynamic linking on secondary archs # turn off shared libs and dynamic linking on secondary archs
%ifnarch %{ix86} x86_64 %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 # shared libraries are only supported on primary intel archs
%%ghc_without_dynamic 1 %%ghc_without_dynamic 1