]> git.pld-linux.org Git - packages/ghc.git/commitdiff
all backends require default compiler
authorJan Palus <atler@pld-linux.org>
Fri, 18 Mar 2022 14:57:30 +0000 (15:57 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 18 Mar 2022 15:04:52 +0000 (16:04 +0100)
ghc.spec

index dcdc0b9dc0575970eef41e082f394a599227147b..3e76790ca81d994687863af0af609f3708ff6029 100644 (file)
--- a/ghc.spec
+++ b/ghc.spec
@@ -134,14 +134,11 @@ BuildRequires:    latexmk
 #For generating documentation in PDF: fop or xmltex
 BuildRequires: sphinx-pdg-3
 %endif
-%if %{with unregisterised}
 Requires:      gcc
-%else
-%if %{without ncg}
+%if %{without unregisterised} && %{without ncg}
 # targets without ncg use llvm backend by default which requires llc/opt
 Requires:      llvm >= 9
 %endif
-%endif
 Provides:      ghc-array = %{gpv_array}
 Provides:      ghc-base = %{gpv_base}
 Provides:      ghc-binary = %{gpv_binary}
This page took 0.101491 seconds and 4 git commands to generate.