[llvm] Hardcode GCC version to avoid macro expansion problems

Michel Alexandre Salim salimma at fedoraproject.org
Fri Mar 30 11:24:50 UTC 2012


commit 460419b9339fc0ce97d045225e253d48a89984ff
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Fri Mar 30 18:24:20 2012 +0700

    Hardcode GCC version to avoid macro expansion problems

 llvm.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index 90a4de6..ced586f 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -6,7 +6,7 @@
 
 # clang header paths are hard-coded at compile time
 # and need adjustment whenever there's a new GCC version
-%global gcc_version %(gcc -dumpversion)
+%global gcc_version 4.7.0
 
 %ifarch s390 s390x sparc64
   # No ocaml on these arches


More information about the scm-commits mailing list