summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/Android.bp b/build/Android.bp
index ec374f252f..630cf3c75f 100644
--- a/build/Android.bp
+++ b/build/Android.bp
@@ -101,6 +101,9 @@ art_global_defaults {
// Apple, it's a pain.
"-Wmissing-noreturn",
],
+ host_ldlibs: [
+ "-lrt",
+ ],
},
host: {
cflags: [
@@ -111,7 +114,6 @@ art_global_defaults {
host_ldlibs: [
"-ldl",
"-lpthread",
- "-lrt",
],
},
},