From 0f1e83047cae926777af64319862d21d987e388d Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Fri, 29 Jun 2018 14:59:14 -0700 Subject: [PATCH] Do not pass "-pie" in cflags Bug: http://b/111000555 It's only needed for linking and Android already passes this by default. Passing it to a compile step causes clang to emit -Wunused-command-line-argument. Test: build Change-Id: Iea608387a57f0a65cfc3e67ab19c8d812f4aef37 --- test/Android.bp | 1 - 1 file changed, 1 deletion(-) diff --git a/test/Android.bp b/test/Android.bp index 9e34a51..2a5b6c7 100644 --- a/test/Android.bp +++ b/test/Android.bp @@ -27,7 +27,6 @@ cc_test { "-DARM", "-DMD5_DISABLE", "-fPIC", - "-pie", "-Wall", "-Werror", "-Wno-unused-variable",