summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-09-12 18:54:54 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-09-12 18:54:54 (GMT)
commitd34a5ec7d8003256b859421dc080be0362663678 (patch)
tree0eaff319c7efbd3257b9c1360ac897dc27b0890e /config/cc/gcc.in
parent4c326c29241784efbda7494c09068a103397b2f4 (diff)
cc/gcc: do not force use of non-vital companion libraries
While GMP and MPFR are required by gcc>=4.3 (to build the frontends), and MPC is required by gcc>=4.5, the other libs are not. If they are present then gcc will enable advanced features; if they are missing, then gcc will (should) simply disable those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/cc/gcc.in')
-rw-r--r--config/cc/gcc.in19
1 files changed, 16 insertions, 3 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 00d1dfa..2e64556 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -136,13 +136,22 @@ config CC_GCC_4_4_or_later
bool
default n
select CC_GCC_4_3_or_later
- select CC_GCC_USE_PPL_CLOOG
+ select CC_GCC_HAS_GRAPHITE
config CC_GCC_4_5_or_later
bool
default n
select CC_GCC_4_4_or_later
- select CC_GCC_USE_MPC_LIBELF
+ select CC_GCC_USE_MPC
+ select CC_GCC_HAS_LTO
+
+config CC_GCC_HAS_GRAPHITE
+ bool
+ default n
+
+config CC_GCC_HAS_LTO
+ bool
+ default n
config CC_GCC_USE_GMP_MPFR
bool
@@ -156,10 +165,14 @@ config CC_GCC_USE_PPL_CLOOG
select PPL
select CLOOG
-config CC_GCC_USE_MPC_LIBELF
+config CC_GCC_USE_MPC
bool
default n
select MPC
+
+config CC_GCC_USE_LIBELF
+ bool
+ default n
select LIBELF
config CC_VERSION