[llvm] - Add correct C include directory at compile time (# 641500)

Michel Alexandre Salim salimma at fedoraproject.org
Thu Oct 14 20:24:27 UTC 2010


commit 7ea8ecf20fc5cea30ec2fabcdf39255cd63c5d7c
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Oct 14 22:24:08 2010 +0200

    - Add correct C include directory at compile time (# 641500)

 llvm.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 00e0131..68e74e1 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -12,7 +12,7 @@
 
 Name:           llvm
 Version:        2.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The Low Level Virtual Machine
 
 Group:          Development/Languages
@@ -212,6 +212,7 @@ mv clang-%{version} tools/clang
   --enable-debug-runtime \
   --enable-jit \
   --enable-shared \
+  --with-c-include-dirs=$(echo /usr/lib/gcc/*/*/include) \
   --with-cxx-include-root=$(echo /usr/include/c++/*) \
   --with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os}
 
@@ -382,6 +383,9 @@ find examples -name 'Makefile' | xargs -0r rm -f
 
 
 %changelog
+* Thu Oct 14 2010 Michel Salim <salimma at fedoraproject.org> - 2.8-2
+- Add correct C include directory at compile time (# 641500)
+
 * Tue Oct 12 2010 Michel Salim <salimma at fedoraproject.org> - 2.8-1
 - Update to 2.8 release
 


More information about the scm-commits mailing list