[llvm/f14/master] macro-ify include overrides
Michel Alexandre Salim
salimma at fedoraproject.org
Thu Oct 14 22:01:49 UTC 2010
commit 63bfe803a91921f392a802c701a4a1434d2c9ff9
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Fri Oct 15 00:01:05 2010 +0200
macro-ify include overrides
llvm.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index e344150..ed6b4f3 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -216,8 +216,8 @@ popd
--enable-debug-runtime \
--enable-jit \
--enable-shared \
- --with-c-include-dirs=/usr/include:$(echo /usr/lib/gcc/*/*/include) \
- --with-cxx-include-root=$(echo /usr/include/c++/*) \
+ --with-c-include-dirs=%{_includedir}:$(echo %{_prefix}/lib/gcc/*/*/include) \
+ --with-cxx-include-root=$(echo %{_includedir}/c++/*) \
--with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os}
# FIXME file this
More information about the scm-commits
mailing list