commit | feb4a7e4aefe0b20489a8c5c1abfc09556814503 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Sep 19 14:45:52 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Sep 19 15:18:17 2018 -0700 |
tree | 5489043a2b543f16b289260d52f35e695cbedc92 | |
parent | e20c6588cec3f1a5d07c93e383a1e0b36321d8f4 [diff] |
Don't set -pie for windows modules Adding -pie to LOCAL_LDFLAGS for host linking leaves it around when doing the host cross Windows linking, resulting in a warning: clang-7: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] Add it later in binary.mk after the flags have been copied to the single-use my_ldflags. Bug: 115776263 Test: m checkbuild Change-Id: I70d71fa1ec6445631dc7e89ef61927a3304375e2
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.