cabal_configure: use --enable-library-profiling instead of -p

epel9
Jens Petersen 11 months ago
parent ce2d3a11d4
commit c6c144a6c0

@ -25,7 +25,7 @@ LANG=C.utf8\
%if 0%{?rhel} && 0%{?rhel} < 8\ %if 0%{?rhel} && 0%{?rhel} < 8\
licensedirversion=%{?2:-%2}\ licensedirversion=%{?2:-%2}\
%endif\ %endif\
%cabal_configure %{?with_ghc_prof:-p} %{!?ghc_without_shared:--enable-shared} %{?ghc_without_shared:--disable-shared} %{!?1:%{?pkg_name:--htmldir=%{ghclibdocdir}/%{pkg_name}-%{version}}} %{?1:--docdir=%{_ghclicensedir}/ghc-%1${licensedirversion} --htmldir=%{ghclibdocdir}/%1-%2} %{?ghc_subpackaging:--user}%{!?ghc_subpackaging:--global} %{?ghc_with_lib_for_ghci:--enable-library-for-ghci}\ %cabal_configure %{?with_ghc_prof:--enable-library-profiling} %{!?ghc_without_shared:--enable-shared} %{?ghc_without_shared:--disable-shared} %{!?1:%{?pkg_name:--htmldir=%{ghclibdocdir}/%{pkg_name}-%{version}}} %{?1:--docdir=%{_ghclicensedir}/ghc-%1${licensedirversion} --htmldir=%{ghclibdocdir}/%1-%2} %{?ghc_subpackaging:--user}%{!?ghc_subpackaging:--global} %{?ghc_with_lib_for_ghci:--enable-library-for-ghci}\
%cabal build %{?ghc_smp_mflags} %{?cabal_build_options}\ %cabal build %{?ghc_smp_mflags} %{?cabal_build_options}\
%{nil} %{nil}

Loading…
Cancel
Save