Add TARGET_GCC_VERSION

Default to 4.6, but can overwritten to something else in
prebuilts/gcc/$os/$arch/$arch-linux-android*-$ver

Change-Id: I16f99d642b8ff8e831d392261a0c536041107051
Use google gcc 4.7

Change-Id: Ic581b505f267d6fa3011bc5831aeedabf2255d85
[ARM] Extend the usage of TARGET_GCC_VERSION for gdb and arm-eabi-*.

In the future to upgrade the gcc version we just need to edit one
line in core/config.mk.

Change-Id: I01bb38c38f2388913bb7369aa4b2da480411dfbe

Conflicts:
	envsetup.sh
Use GCC 4.7 from google

Noticible preformance improvement
Fixes needed
*Framework/rs
*System/security
*external/oprofile
*external/elfutils
*external/v8

Change-Id: Ic1eadf1fa7df1525471b9c844ac0c4bd9e778330
Export TARGET_GCC_VERSION as an env variable.

Have it referenced by the adbs tool to pick the specified toolchain.

Change-Id: I23df88946254a55d0749d6753e54559faf33e121
Enable 03

*03 for libs
*02 for linker

Change-Id: I42fce84f72c13d4d9f7f2b31f39ad4fa589f297e

Conflicts:
	CleanSpec.mk
Allow configuration of gcc version used for build

You can override the default version by setting the value of
TARGET_GCC_VERSION in the BoardConfig.mk file. For example,
to select version 4.6, add the following:

TARGET_GCC_VERSION := 4.6

Change-Id: I10afb47b18c45e2b913b8af8f34cb98e5e96cbf2
Make gcc 4.6 default and non O3

* to use gcc 4.7 add TARGET_GCC_VERSION := 4.7 to your board config
* to use O3 add TARGET_USE_O3

Change-Id: Ia4a00023c84cc21122bdf1c116e51a179ccabd8c
Add optimization paramater to lunch

When you run lunch you can see the optimizations enabled in your boradconfig.mk
Current options are TARGET_GCC_VERSION/TARGET_USE_O3/TARGET_USE_LINARO_STRING_ROUTINES

Change-Id: Ie2870165906129381fdc0c28fc13f26fbb11c22d
Graphite optimizatoin flags

Enable with use TARGET_USE_GRAPHITE
*currently expermental

Change-Id: I2126a86986c4f7eed7252ed40d860b2f74725afb
improve ccache support

Change-Id: I5401f7068d6f830adba293eadbbe307e6bf736f8
fix graphite optimization support

Change-Id: Ifa79b8714559d5d8710aaa6a17e9b26ffd226304
reverting ccache nostats

Change-Id: Ide52e34c73638e3a64e2d3f1c6ff43ff48325049
Revert "Graphite optimizatoin flags"

This reverts commit ad7098de55e23df2074253a45d062c3178ca4028.

causes issues with amazon/currents/etc

Conflicts:
	core/combo/TARGET_linux-arm.mk

Change-Id: I527f5ccc19888a98b0da69d6984104083edbc568
Graphite

Readd graphite enable indicator
only going to enable graphite flags on skia

Change-Id: I67e23ec68a541f0dc5d2aef556c0eb229d42a730
fix typo

Change-Id: Ieb40257f4c959e1a4377fa4d6c21e21a49f4ad07
Disable tree-vectorizing

Fixes bluetooth on the nexus 7
Removed fun-switch loops was already enabled under o3

Change-Id: I1d5b1b05e10736e0a7130513accbec4da573c03a
x86: enable FORTIFY_SOURCE

Enable FORTIFY_SOURCE for Android x86.  This adds certain security
protections to Android programs, checking for common programming
mistakes and buffer overflows.

FORTIFY_SOURCE protections have been enabled for ARM since
a46c480e43cc61d0190569684f0a1e53a5da75b6 (Jun 4th 2012)

Change-Id: Idae6f93d37ddae605088867cd3029f12632456e1
build/core: Build in ISOC++11 mode if possible

Add -std=gnu++11 if the compiler supports it

Change-Id: Ied8b4487263172b678fd2912cfe428187b2edf95
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build/core: Add option to disable C++11 bits

Change-Id: I45294e8c19bf7cdf200b45fbd114ccd75c4e3ca9
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>