From 460419b9339fc0ce97d045225e253d48a89984ff Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mar 30 2012 11:24:20 +0000 Subject: Hardcode GCC version to avoid macro expansion problems --- 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