diff options
author | Elliott Hughes <enh@google.com> | 2020-12-03 11:03:36 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-12-03 11:03:36 -0800 |
commit | 4e258f03034c6669e60fdaa94a886e94b71065d5 (patch) | |
tree | b76121fd0e2aa01038a952676d6336160fce9904 | |
parent | 2fcdd1881de86b3343be122bfb5349cb4e0dc3d4 (diff) | |
download | llvm-4e258f03034c6669e60fdaa94a886e94b71065d5.tar.gz |
Stop building against ncurses.
The "real" LLVM used for the toolchain uses our hermetic ncurses, and
this LLVM has no need of ncurses (which ideally I'd like to remove from
our sysroot).
Bug: http://b/172971586
Test: treehugger
Change-Id: I26c4a43c946539c6b920f649fce3a0de5039ac5b
-rw-r--r-- | Android.bp | 7 | ||||
-rw-r--r-- | host/include/llvm/Config/config.h | 4 | ||||
-rw-r--r-- | llvm-host-build.mk | 3 |
3 files changed, 1 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp index be4d6d20da1c..5da0d03466e6 100644 --- a/Android.bp +++ b/Android.bp @@ -82,9 +82,7 @@ llvm_defaults { host_ldlibs: ["-luuid"], }, linux_glibc: { - // Add on ncurses to have support for terminfo host_ldlibs: [ - "-lncurses", "-lgcc_s", ], }, @@ -93,11 +91,6 @@ llvm_defaults { "-Wno-deprecated-declarations", "-Woverloaded-virtual", ], - - // Add on ncurses to have support for terminfo - host_ldlibs: [ - "-lncurses", - ], }, }, } diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index 9563335abbd7..eb6c81d1ec1d 100644 --- a/host/include/llvm/Config/config.h +++ b/host/include/llvm/Config/config.h @@ -489,9 +489,7 @@ #define HAVE_SYS_WAIT_H 1 /* Define if the setupterm() function is supported this platform. */ -#ifndef __BIONIC__ -#define HAVE_TERMINFO 1 -#endif +/* #undef HAVE_TERMINFO */ /* Define to 1 if you have the <termios.h> header file. */ #define HAVE_TERMIOS_H 1 diff --git a/llvm-host-build.mk b/llvm-host-build.mk index 89074a8d7760..956dad47dbec 100644 --- a/llvm-host-build.mk +++ b/llvm-host-build.mk @@ -55,9 +55,6 @@ LOCAL_C_INCLUDES := \ $(LLVM_ROOT_PATH)/host/include \ $(LOCAL_C_INCLUDES) -# Add on ncurses to have support for terminfo -LOCAL_LDLIBS_darwin += -lncurses -LOCAL_LDLIBS_linux += -lncurses LOCAL_LDLIBS_linux += -lgcc_s LOCAL_LDLIBS_windows += -luuid |