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
[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
Export TARGET_GCC_VERSION as an env variable.

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

Change-Id: I23df88946254a55d0749d6753e54559faf33e121
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
Use GCC 4.7 from google

Thanks aaronpoweruser for saving me hours of fixing errors myself.

Change-Id: I85cdd49a802bc9577e40bccbcfa2b08f3c76a472
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
GCC 4.7 O3 and aliasing Optimizations

Requires http://gerrit.sudoservers.com/#/c/4568/ to build.

Change-Id: Ic416df6a593d1094deaac5a2261b625f734ce404
Add strict_aliasing.
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>
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
Graphite optimizatoin flags

Enable with use TARGET_USE_GRAPHITE
*currently expermental

Change-Id: I2126a86986c4f7eed7252ed40d860b2f74725afb
fix graphite optimization support

Change-Id: Ifa79b8714559d5d8710aaa6a17e9b26ffd226304
Drop official SDK 17

The SDK was downloaded with the Eclipse Android SDK Manager.

Change-Id: Ieb26ff03da08fae8a690fc1eb46549bcbe937233
Carbon power

Conflicts:
	core/combo/select.mk
Added more of the original linaro optimizations to default

doing it big lets just make sure we keep our repos well patched ;x
Allow config of gcc version used/Make gcc 4.7, -O3 defaults

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

===========================================================
Custom ToolchainModHowto
* use gcc 4.6 add TARGET_GCC_VERSION := 4.6 to your board config
* to use O2 add TARGET_USE_O2 := true to enable -O2

Credits to PA for the Idea and layout

Conflicts:
	core/combo/TARGET_linux-arm.mk
	core/combo/select.mk

Conflicts:
	core/combo/TARGET_linux-arm.mk
	core/combo/select.mk
Linaro Fixups
Added necessary 'endif' to my 4.6 override function

Should work now ^_^
Added more of the original linaro optimizations to default

doing it big lets just make sure we keep our repos well patched ;x
Added even more optimizations to global build

Credits to morfic for reccomending these, need people to report device breakage if this causes it...
Missed something major :p