fix the defines of ghc_without_dynamic and ghc_without_shared
This commit is contained in:
parent
75e22924a6
commit
b2d74bab08
@ -43,9 +43,9 @@ install -p %{SOURCE3} ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpm
|
|||||||
%ifnarch %{ix86} x86_64
|
%ifnarch %{ix86} x86_64
|
||||||
cat >> ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc <<EOF
|
cat >> ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc <<EOF
|
||||||
|
|
||||||
# shared libraries are only supported on main intel archs
|
# shared libraries are only supported on primary intel archs
|
||||||
%%global ghc_without_dynamic 1
|
%%ghc_without_dynamic 1
|
||||||
%%global ghc_without_shared 1
|
%%ghc_without_shared 1
|
||||||
EOF
|
EOF
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user