[ghc] better _smp_mflags echo output

Jens Petersen petersen at fedoraproject.org
Sat Feb 14 16:16:32 UTC 2015


commit 3118c56ef3708a8c693508016285dd2e645f3dbf
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Feb 15 01:15:38 2015 +0900

    better _smp_mflags echo output

 ghc.spec |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/ghc.spec b/ghc.spec
index dba5ee0..2188814 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -343,9 +343,7 @@ export LDFLAGS="${LDFLAGS:-%__global_ldflags}"
 
 # avoid "ghc: hGetContents: invalid argument (invalid byte sequence)"
 export LANG=en_US.utf8
-%if %{defined _smp_mflags}
-echo %{?_smp_mflags}
-%endif
+echo _smp_mflags is '%{?_smp_mflags}'
 %ifarch %{ix86} x86_64
 %global _smp_mflags -j16
 %endif


More information about the scm-commits mailing list