summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/jenkins-arm.sh4
-rwxr-xr-xcontrib/jenkins.sh4
2 files changed, 4 insertions, 4 deletions
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 \