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 <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder