diff options
author | Dan Albert <danalbert@google.com> | 2014-05-21 18:13:45 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-06-09 15:32:33 -0700 |
commit | 3fd578fd1052893e8071513281141aed0230e7ac (patch) | |
tree | c7cd8e94c36e2a5c3c7258889e5e9cfff88d9d76 | |
parent | 9f59e7d18c02d99d540c80fdaeb37ac83bdc047f (diff) | |
download | external_libcxx-3fd578fd1052893e8071513281141aed0230e7ac.tar.gz external_libcxx-3fd578fd1052893e8071513281141aed0230e7ac.tar.bz2 external_libcxx-3fd578fd1052893e8071513281141aed0230e7ac.zip |
Need to exclude libstdc++ for host builds
(cherry picked from commit 65759667bd45650262d04c71e2987cb33d835eea)
Change-Id: I4e8bc93fb72cc701ea46738813e141353beafa52
-rw-r--r-- | libcxx.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,4 +21,7 @@ LOCAL_C_INCLUDES := \ external/libcxxrt/include \ $(LOCAL_C_INCLUDES) \ +LOCAL_CPPFLAGS += -nostdinc++ +LOCAL_LDFLAGS += -nodefaultlibs +LOCAL_LDLIBS += -lm -lc LOCAL_SHARED_LIBRARIES += libc++ |