OSDN Git Service

Fix darwin build due to deprecated sbrk declaration.
authorStephen Hines <srhines@google.com>
Thu, 10 Sep 2015 19:51:34 +0000 (12:51 -0700)
committerStephen Hines <srhines@google.com>
Thu, 10 Sep 2015 19:51:34 +0000 (12:51 -0700)
Change-Id: I7f4884a36cdc6bc3b546ea84e27c7f8587799132

llvm-host-build.mk

index 4bb0ffb..d33128b 100644 (file)
@@ -17,7 +17,7 @@ LOCAL_CFLAGS +=       \
        $(LOCAL_CFLAGS)
 
 LOCAL_CFLAGS_linux += -Werror
-LOCAL_CFLAGS_darwin += -Werror
+LOCAL_CFLAGS_darwin += -Werror -Wno-error=deprecated-declarations
 
 ifeq ($(FORCE_BUILD_LLVM_DISABLE_NDEBUG),true)
 LOCAL_CFLAGS :=        \