[llvm] clang++: also search for platform-specific include files (# 680644)

Michel Alexandre Salim salimma at fedoraproject.org
Fri Mar 18 17:16:40 UTC 2011


commit 68d1c11c8970534ec204b1dc782896884a62eff7
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Mar 17 12:47:48 2011 +0100

    clang++: also search for platform-specific include files (# 680644)

 llvm.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 4354499..fb47383 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -15,7 +15,7 @@
 
 Name:           llvm
 Version:        2.9
-Release:        0.1.%{prerel}%{?dist}
+Release:        0.2.%{prerel}%{?dist}
 Summary:        The Low Level Virtual Machine
 
 Group:          Development/Languages
@@ -222,7 +222,9 @@ popd
   --with-c-include-dirs=%{_includedir}:$(find %{_prefix}/lib/gcc/*/* \
       -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-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
 
 # FIXME file this
 # configure does not properly specify libdir
@@ -392,6 +394,9 @@ find examples -name 'Makefile' | xargs -0r rm -f
 
 
 %changelog
+* Thu Mar 18 2011 Michel Salim <salimma at fedoraproject.org> - 2.9-0.2.rc1
+- clang++: also search for platform-specific include files (# 680644)
+
 * Thu Mar 10 2011 Michel Salim <salimma at fedoraproject.org> - 2.9-0.1.rc1
 - Update to 2.9rc1
 


More information about the scm-commits mailing list