Change in libosmocore[master]: jenkins_arm.sh: Use same Werror related options as on other builds

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Aug 1 15:50:03 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10300 )

Change subject: jenkins_arm.sh: Use same Werror related options as on other builds
......................................................................

jenkins_arm.sh: Use same Werror related options as on other builds

Change-Id: I45ab11b461a35923853f38b5bedd5025f53cc5b5
---
M contrib/jenkins_arm.sh
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/contrib/jenkins_arm.sh b/contrib/jenkins_arm.sh
index 8229fc8..1d72f2f 100755
--- a/contrib/jenkins_arm.sh
+++ b/contrib/jenkins_arm.sh
@@ -2,6 +2,10 @@
 
 . $(dirname "$0")/jenkins_common.sh
 
+
+# from ../configure.ac
+WERROR_FLAGS="-Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp"
+
 src_dir="$PWD"
 build() {
     build_dir="$1"
@@ -14,7 +18,7 @@
 	--enable-embedded \
 	--disable-doxygen \
 	--disable-shared \
-	CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror"
+	CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs $WERROR_FLAGS"
 
     $MAKE $PARALLEL_MAKE
 }

-- 
To view, visit https://gerrit.osmocom.org/10300
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I45ab11b461a35923853f38b5bedd5025f53cc5b5
Gerrit-Change-Number: 10300
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180801/0b4f17dd/attachment.htm>


More information about the gerrit-log mailing list