From 0d119ef8b3c198088a88f56e58a9f70002a2a197 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Sun, 18 Jun 2017 11:02:37 +0200 Subject: contrib: Enable -Werror by default Change-Id: I1752cad1e34cb6e5f36edf3f538d803eff29d18c --- contrib/jenkins-arm.sh | 4 ++-- contrib/jenkins.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/jenkins-arm.sh b/contrib/jenkins-arm.sh index d5fc31fb..510b0e9e 100755 --- a/contrib/jenkins-arm.sh +++ b/contrib/jenkins-arm.sh @@ -10,7 +10,7 @@ autoreconf --install --force --host=arm-none-eabi \ --enable-embedded \ --disable-shared \ - CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs" + CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror" $MAKE $PARALLEL_MAKE \ || cat-testlogs.sh @@ -27,7 +27,7 @@ cd builddir --host=arm-none-eabi \ --enable-embedded \ --disable-shared \ - CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs" + CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror" $MAKE $PARALLEL_MAKE \ || cat-testlogs.sh diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index bb6c3cb5..6a72840d 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -11,7 +11,7 @@ else fi autoreconf --install --force -./configure --enable-static $ENABLE_SANITIZE +./configure --enable-static $ENABLE_SANITIZE CFLAGS="-Werror" CPPFLAGS="-Werror" $MAKE $PARALLEL_MAKE check \ || cat-testlogs.sh $MAKE distcheck \ @@ -23,7 +23,7 @@ git checkout . autoreconf --install --force mkdir builddir cd builddir -../configure --enable-static +../configure --enable-static CFLAGS="-Werror" CPPFLAGS="-Werror" $MAKE $PARALLEL_MAKE check \ || cat-testlogs.sh $MAKE distcheck \ -- cgit v1.2.3