summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-06-18 11:02:37 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-06-23 15:41:49 +0200
commit0d119ef8b3c198088a88f56e58a9f70002a2a197 (patch)
tree1f68da830988de2a9d229d2b54bdaf226ea8696c /contrib
parent1349249f881702d98f8fc59ca2d23b59ffb74ac5 (diff)
contrib: Enable -Werror by default
Change-Id: I1752cad1e34cb6e5f36edf3f538d803eff29d18c
Diffstat (limited to 'contrib')
-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 \