diff options
author | Dan Willemsen <dwillemsen@google.com> | 2017-09-28 17:03:23 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2017-09-28 17:03:23 -0700 |
commit | cddc2024e95c5601bffb7878ed352b56ccd55747 (patch) | |
tree | 522dabd307b095e9fb666750dbb25cace67f89c9 | |
parent | 2c95b1ab3064e01b4a9acc7f19fe43097ec704bb (diff) | |
download | spirv-llvm-cddc2024e95c5601bffb7878ed352b56ccd55747.tar.gz |
Remove default libraries
libdl is part of system_shared_libs now. -ldl -lpthread -lm are now defaults
for host_ldlibs on Linux and Darwin. -lrt is a default for host_ldlibs on
Linux.
Test: m host
Change-Id: I27325ad4f4a6cdf5f3f5e881070a136462b897ac
Exempt-From-Owner-Approval: build system cleanup
-rw-r--r-- | lib/SPIRV/Android.bp | 13 | ||||
-rw-r--r-- | tools/llvm-spirv/Android.bp | 13 |
2 files changed, 0 insertions, 26 deletions
diff --git a/lib/SPIRV/Android.bp b/lib/SPIRV/Android.bp index 30394d86..2fcad901 100644 --- a/lib/SPIRV/Android.bp +++ b/lib/SPIRV/Android.bp @@ -75,19 +75,6 @@ cc_library_shared { "-fno-exceptions", ], }, - linux: { - host_ldlibs: [ - "-lrt", - "-ldl", - "-lpthread", - ], - }, - darwin: { - host_ldlibs: [ - "-ldl", - "-lpthread", - ], - }, }, shared_libs: ["libLLVM"], diff --git a/tools/llvm-spirv/Android.bp b/tools/llvm-spirv/Android.bp index dec1bb6c..b5fae62f 100644 --- a/tools/llvm-spirv/Android.bp +++ b/tools/llvm-spirv/Android.bp @@ -25,19 +25,6 @@ cc_binary { srcs: ["llvm-spirv.cpp"], target: { - linux: { - host_ldlibs: [ - "-lrt", - "-ldl", - "-lpthread", - ], - }, - darwin: { - host_ldlibs: [ - "-ldl", - "-lpthread", - ], - }, android: { cflags: [ "-DNDEBUG=1", |