This better matches the order from cc/cc.go, so that any implicit
ordering behaves the same in Make and Soong.
Change-Id: I802d725f037a22c4b2f0ae28258af95efa37ce79
-msoft-float is equivalent to -mfloat-abi=soft, which means we need to
make sure the order is correct if we also specify -mfloat-abi=softfp.
Since the Neon support (with -mfloat-abi=softfp) is in the cpu-specific
ToolchainCflags, move the generic definition into ToolchainCflags as
well.
This wasn't actually causing problems when compiling, since the normal
toolchain.Cflags is before toolchain.ToolchainCflags, but the makevars
code accidentally reversed this. That will be fixed as well, but this
will protect against similar problems in the future.
Change-Id: If6f37c845210105f84769bab45fde5d7fdc2fe09
am: 7f14652efe
* commit '7f14652efe11e0a2dabe022b31494e3bd0c1796c':
Add the common directory back to kernel headers.
Change-Id: I98d01f3473634f9c1c2d0fb04b275fecab5600c6
am: 32b3e00b7e
* commit '32b3e00b7e7c1a5e2a442fb1fb7b204598f57603':
Add the common directory back to kernel headers.
Change-Id: Ia9669067a7e63d459977b1d65f39217b900defc7
am: a2abfd6b30
* commit 'a2abfd6b30e80bf39bcc22b4fee91db37f14fa4a':
Add the common directory back to kernel headers.
Change-Id: Id6f2fff3a1d99b03c59916009122bec1b52dcf9c
This was in HOST_CROSS_GLOBAL_LD_DIRS, which is why it didn't get
translated over here, since Soong does not use global linking
directories. It's being moved to HOST_CROSS_GLOBAL_LDFLAGS so that it
can be shared.
Change-Id: Ie20670278a589ae3cf76e09de4079edfa800cf5b
The variable was defined, but it wasn't being exposed to the Toolchain
interface. It was also using -I instead of -isystem.
Change-Id: Iee9862a4b9c50c9497915175a23864b4b2c29c26
x86_64 and mips64 NDK prebuilt libraries are stored in .../usr/lib64,
but arm64 and all the 32-bit ABIs use .../usr/lib. Add a 64 suffix to
the path for all 64-bit ABIs except arm64.
Change-Id: I98e87ff6a7f1aa75adbeb37c5b1e7208b953322f
Static_executable was still using ModifyProperties, and was otherwise
missing things. Fix all of that up, and implement HostStaticBinaries,
which is the equivalent of BUILD_HOST_static in Make. That will default
host binaries to be static, which is useful for building SDK tools to
run with incompatible C libraries.
Change-Id: I2a62181b5d854b310edc8ae7a6bcbd30b89e7463
am: a2190784e0
* commit 'a2190784e0e4d7cebee7d571053054384ff12cb1':
Export CONLYFLAGS and CPPFLAGS to Make
Change-Id: I9b4d5591b9afd43c1e5ab04949d3b7d1bba6f3dc
am: 53ad362d24
* commit '53ad362d249e0407df457adf058b8f08ffdb9af8':
Export CONLYFLAGS and CPPFLAGS to Make
Change-Id: Ic84f5b8864ae1cdbd8f2f7d270f0219fcac4dc0e
am: 216a459ccc
* commit '216a459ccc782d9b47e5663b4c3b81f0e03e2739':
Export CONLYFLAGS and CPPFLAGS to Make
Change-Id: Ie8286de619a2a8b369376660613ed8e476389fca
am: 224361ead4
* commit '224361ead4ff8a831eb1df781d4a39093f4e40aa':
Export -D__BRILLO__ to make if necessary
Change-Id: Ie77dc5ee2480c25f0ed9deb13a09db996e6830a2
am: da8b053323
* commit 'da8b0533239d35ea5e82d11624c4c7820bbf66e0':
Export -D__BRILLO__ to make if necessary
Change-Id: Iaeb3018c7f8666037d596b4f0917686a435b43fb
am: 06f453359a
* commit '06f453359a6686e20d00e7ab661e39ce0e0e5bb5':
Export -D__BRILLO__ to make if necessary
Change-Id: I0b5236fe6a32c52e00e50d88b99928a1ad4ef6ad
am: a5f997fa39
* commit 'a5f997fa39fe56de414e773b0ebee287571d83b6':
Turn on strict checking for C[PP]FLAGS make vars
Change-Id: I1380124d2533e687bed4429d08932ea7464e3f74
am: fc8fa79a7f
* commit 'fc8fa79a7f44548f01fd48bc710d4cc3795f9953':
Don't use -B...gcc.. on Darwin
Change-Id: Id7a487d43b9d54e10f31f4ce3e8b2ee490321c44
am: fb2eaaf8f2
* commit 'fb2eaaf8f2cf111cf76937bd10e2cf6d5901f122':
Turn on strict checking for C[PP]FLAGS make vars
Change-Id: I6467f06c78886700089203f829ad30ede6a222af
am: aaaeb15c73
* commit 'aaaeb15c7396f5454ab72a37f190ab5b9003e13b':
Don't use -B...gcc.. on Darwin
Change-Id: I150c7aa6df8fcc895d4b5cf21f9e90e5c1b1b1f4
am: b436fdee65
* commit 'b436fdee65b2ae27576b37f1f13a324bc9c7f51a':
Turn on strict checking for C[PP]FLAGS make vars
Change-Id: If75cd0402c85326307ef6d1657c3f8153f904a38
am: 3772da13fd
* commit '3772da13fd9b4d1f0aec35c73883c1cb5b60fd35':
Don't use -B...gcc.. on Darwin
Change-Id: Iad450b34cc85054b573ec0c2b8537414def9ef52
We don't ship binutils on Darwin, so there is no point in telling clang
to look in that path. (The path being used doesn't even exist). This
matches the Make behavior.
Change-Id: I663047057ff8df8a349483532da8018af13d50d8