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

Michel Alexandre Salim salimma at fedoraproject.org
Thu Mar 17 11:48:19 UTC 2011


commit f8523b8fdb3e2f63edcbf63b361f4e23169abcba
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 3535c9c..8cc1bf1 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -12,7 +12,7 @@
 
 Name:           llvm
 Version:        2.8
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        The Low Level Virtual Machine
 
 Group:          Development/Languages
@@ -225,7 +225,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
@@ -394,6 +396,9 @@ find examples -name 'Makefile' | xargs -0r rm -f
 
 
 %changelog
+* Thu Mar 17 2011 Michel Salim <salimma at fedoraproject.org> - 2.8-8
+- clang++: also search for platform-specific include files (# 680644)
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.8-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list