OSDN Git Service

Turn on -Werror for LLVM builds.
authorStephen Hines <srhines@google.com>
Wed, 9 Sep 2015 15:41:46 +0000 (08:41 -0700)
committerStephen Hines <srhines@google.com>
Wed, 9 Sep 2015 15:41:46 +0000 (08:41 -0700)
Change-Id: I7dee633c50714bd8e0d51b14ca7053b8293092ea

llvm-device-build.mk
llvm-host-build.mk

index 172ecf1..627ad0c 100644 (file)
@@ -13,6 +13,7 @@ LOCAL_CFLAGS :=       \
        -W      \
        -Wno-unused-parameter   \
        -Wwrite-strings \
+       -Werror \
         -Dsprintf=sprintf \
        $(LOCAL_CFLAGS)
 
index 061a0b7..4e05cb1 100644 (file)
@@ -13,6 +13,7 @@ LOCAL_CFLAGS +=       \
        -W      \
        -Wno-unused-parameter   \
        -Wwrite-strings \
+       -Werror \
        -Dsprintf=sprintf \
        $(LOCAL_CFLAGS)