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
Loading
Please register or sign in to comment