OSDN Git Service

Don't use libgcc_s on Darwin.
authorDan Albert <danalbert@google.com>
Sun, 9 Nov 2014 00:10:06 +0000 (16:10 -0800)
committerDan Albert <danalbert@google.com>
Sun, 9 Nov 2014 00:10:06 +0000 (16:10 -0800)
Apple doesn't have a libgcc_s.

Change-Id: I2d20a579ec629afb2487e61b962c7f22a920c845

llvm-host-build.mk

index f3275ba..a3c9539 100644 (file)
@@ -51,8 +51,10 @@ LOCAL_C_INCLUDES :=  \
 
 # Add on ncurses to have support for terminfo
 ifneq ($(HOST_OS),windows)
-LOCAL_LDLIBS += -lncurses \
-                -lgcc_s
+LOCAL_LDLIBS += -lncurses
+ifneq ($(HOST_OS),darwin)
+LOCAL_LDLIBS += -lgcc_s
+endif
 endif
 
 LOCAL_IS_HOST_MODULE := true