[llvm/f15/master] Fix 32bit-dir and 64-dir parameters: should be relative, not absolute

Michel Alexandre Salim salimma at fedoraproject.org
Thu Mar 17 12:20:04 UTC 2011


commit b32ca652bd0332a0c0bc69d25d53e017c28b91ad
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Mar 17 13:19:24 2011 +0100

    Fix 32bit-dir and 64-dir parameters: should be relative, not absolute

 llvm.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 8cc1bf1..ed3398e 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -226,8 +226,8 @@ popd
       -maxdepth 0 -type d)/include \
   --with-cxx-include-root=$(find %{_includedir}/c++/* -maxdepth 0 -type d) \
   --with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os} \
-  --with-cxx-include-32bit-dir=$(find %{_includedir}/c++/* -maxdepth 0 -type d)/%{_arch}-%{_vendor}-%{_os}/32/bits \
-  --with-cxx-include-64bit-dir=$(find %{_includedir}/c++/* -maxdepth 0 -type d)/%{_arch}-%{_vendor}-%{_os}/bits
+  --with-cxx-include-32bit-dir=32/bits \
+  --with-cxx-include-64bit-dir=bits
 
 # FIXME file this
 # configure does not properly specify libdir


More information about the scm-commits mailing list