config/optimize: remove Graphite and LOOP optimizations in preparing to update to gcc-4.7 support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-03-29 16:48:03 +02:00
parent d06c843cab
commit 270110c88c
11 changed files with 0 additions and 68 deletions

View File

@ -238,8 +238,6 @@ show_config() {
config_message="$config_message\n - Optimizations:\t\t\t $OPTIMIZATIONS"
config_message="$config_message\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
config_message="$config_message\n - GOLD (Google Linker) Support:\t $GOLD_SUPPORT"
config_message="$config_message\n - Graphite Support:\t\t\t $GRAPHITE_SUPPORT"
config_message="$config_message\n - LOOP optimization support:\t\t $LOOP_SUPPORT"
config_message="$config_message\n - LLVM support:\t\t\t $LLVM_SUPPORT"
# config_message="$config_message\n - CFLAGS:\t $TARGET_CFLAGS"

View File

@ -21,17 +21,6 @@ if [ "$OPTIMIZATIONS" = size ];then
LD_OPTIM=""
fi
if [ "$LOOP_SUPPORT" = yes ];then
GCC_OPTIM="$GCC_OPTIM -ftree-loop-distribution"
GCC_OPTIM="$GCC_OPTIM -floop-interchange"
GCC_OPTIM="$GCC_OPTIM -floop-strip-mine"
GCC_OPTIM="$GCC_OPTIM -floop-block"
fi
if [ "$GRAPHITE_SUPPORT" = yes ];then
GCC_OPTIM="$GCC_OPTIM -fgraphite-identity"
fi
if [ "$LTO_SUPPORT" = yes -o "$GOLD_SUPPORT" = yes ];then
LD_OPTIM="$LD_OPTIM -fuse-linker-plugin"
fi

View File

@ -31,13 +31,6 @@ fi
# busybox fails building with LTO support on gcc-4.6
strip_lto
# fails to build with gcc-4.6.1 (ggc bug #49716
CFLAGS=`echo $CFLAGS | sed -e "s|-ftree-loop-distribution||"`
CFLAGS=`echo $CFLAGS | sed -e "s|-floop-interchange||"`
CFLAGS=`echo $CFLAGS | sed -e "s|-floop-strip-mine||"`
CFLAGS=`echo $CFLAGS | sed -e "s|-floop-block||"`
CFLAGS=`echo $CFLAGS | sed -e "s|-fgraphite-identity||"`
# optimize for size
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="atv-bootloader"

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"

View File

@ -87,12 +87,6 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="no"
# Graphite Support
GRAPHITE_SUPPORT="yes"
# LOOP optimazion support
LOOP_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"