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: 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>
build/core: Add option to disable C++11 bits

Change-Id: I45294e8c19bf7cdf200b45fbd114ccd75c4e3ca9
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