aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 4e5f3976..a4987c7c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -462,6 +462,9 @@ cc_defaults {
// also getting from <sys/param.h>.
"-Wno-macro-redefined",
],
+ ldflags: [
+ "-Wl,-dead_strip",
+ ],
},
linux: {