[ghdl] change 64bit condition

sailer sailer at fedoraproject.org
Wed Mar 11 16:22:52 UTC 2015


commit 43ee6d8e99f24cac09340e0f6415e7d8f510dd08
Author: Thomas Sailer <t.sailer at alumni.ethz.ch>
Date:   Wed Mar 11 17:22:38 2015 +0100

    change 64bit condition

 ghdl.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ghdl.spec b/ghdl.spec
index bd98beb..6af027d 100644
--- a/ghdl.spec
+++ b/ghdl.spec
@@ -287,7 +287,7 @@ popd
 cp -r ghdl-updates-code ghdl-updates-code-mcode
 pushd ghdl-updates-code-mcode
 %patch112 -p0 -b .mcode32
-%if %{__isa_bits} == 64
+%if "%{?_lib}" == "lib64"
 perl -i -pe 's,^libdirsuffix=.*$,libdirsuffix=lib64/ghdl/mcode,' configure
 %else
 perl -i -pe 's,^libdirsuffix=.*$,libdirsuffix=lib/ghdl/mcode,' configure
@@ -299,7 +299,7 @@ popd
 
 %if %{with llvm}
 pushd ghdl-updates-code
-%if %{__isa_bits} == 64
+%if "%{?_lib}" == "lib64"
 perl -i -pe 's,^libdirsuffix=.*$,libdirsuffix=lib64/ghdl/llvm,' configure
 %else
 perl -i -pe 's,^libdirsuffix=.*$,libdirsuffix=lib/ghdl/llvm,' configure


More information about the scm-commits mailing list