OpenPDroid

Change-Id: I4d9b992f7663b33ebea0f32b55a25590f9250e5e
Revert "OpenPDroid"

This reverts commit f09db5387690ba7ebcbf14c06b401850f9b86077.
 build: Add support for TARGET_EXTRA_C{,PP}FLAGS

Add support for setting TARGET_EXTRA_C{,PP}FLAGS in board configs.
This can be used to set compiler flags for a board that break other
boards, such as -march=cortex-a9 or -DUSE_CUSTOM_EXTENSIONS_FOR_XYZ
build/core: Use better default compiler flags

Use -O3 for the compiler, -O2 for the linker

Change-Id: Ib9c3cd6d6ddf16c8bd20149a051ff2c17491a29d
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build/core: Don't use -fno-strict-aliasing

Don't use -fno-strict-aliasing: It's no longer needed.

Change-Id: I7b6e9524197dc152b57a8d1900dd6d7f9fe3452d
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build: Don't add -fno-strict-aliasing to HOST compiler flags

Change-Id: I07eef86f11ec3761e0922855cb6ff881c2773966
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build: Explicitly disable -Werror=strict-alising for HOST builds

Change-Id: Ib1e834951196ab3ea6acbe47c27eebe5633f55d2
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
build: Add option to disable strict-aliasing optimizations

This is useful for builds that pull in unmodified AOSP repositories
that can't be compiled with strict-aliasing compliance enabled

Change-Id: I0599127b1e113c0799dd8fa92db00b989ebc9bd3
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Revert "build/core: Use better default compiler flags"

This reverts commit 9c83953aea1924516c7bbee9c8a481b4c334c0a8.

Conflicts:
	core/combo/select.mk
Option to use Linaro's compiler flags (see 9c83953)

To enable: export USE_LINARO_COMPILER_FLAGS=yes

Set LD flags to something safe by default.

Original commit: https://github.com/pbeeler/android_build/commit/f54beb181365ac0a1659e9404670789c3d81e578
Print optimizer options
Squash fix from linaro
O3 is back.
Prepare upcoming GCC 4.8 release.

o Add -Wno-unused-parameter -Wno-unused-but-set-parameter to suppress
  new warnings.
o Define GCC_COLORS to enable colorful diagnostic messages.

Change-Id: Icbd62300b0e6f39d4e514edec2431a06b4d72421
(cherry picked from internal commit ccd8e6082b5b1e519a75068fa6c887a1a85b53c4)

Conflicts:
	envsetup.sh
Enabled gcc 4.8
- set gcc 4.8 as default
- custom flags by vaniraosp team

Conflicts:
	core/combo/TARGET_linux-arm.mk

Change-Id: I5b4d9df8d9fa2f429311c2525f4c079b98781cec
derp
Fix
little changes
Test new flags